[LLVMdev] ud2 and lack of warning messages

Mikael Lyngvig mikael at lyngvig.org
Tue Dec 3 17:58:05 PST 2013


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 news.


-- Mikael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131204/c61443c9/attachment.html>


More information about the llvm-dev mailing list