Displaying 3 results from an estimated 3 matches for "5245a6be".
2013 Dec 04
0
[LLVMdev] ud2 and lack of warning messages
Doing this would make clang's diagnostic output dependent on the
optimization level, which is absolutely verboten.
Also, a ud2 doesn't mean your program has a bug, and I doubt an asm-level
diagnostic would be useful to anyone.
A ud2 just means "if control flow ever reaches this point, the program has
undefined behavior"; in that sense, they don't even have to be emitted.
2013 Dec 04
2
[LLVMdev] ud2 and lack of warning messages
Is it just me or would it be nifty if Clang emitted a warning message when
it generates an "ud2" (UnDefined2) instruction. I know this is
x86-specific, but it would be sort of nice to know up front. After all,
the compiler knows perfectly well that it is outputting an "ud2"
instruction and I'm pretty sure almost every programmer out there would
like to share the unhappy
2013 Dec 04
1
[LLVMdev] ud2 and lack of warning messages
...ng list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131204/5245a6be/attachment.html>