Chris Lattner | 7 Apr 07:50 2010
Picon

Re: [llvm] r100607 - in /llvm/trunk: docs/LangRef.html lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp lib/CodeGen/SelectionDAG/InstrEmitter.cpp


On Apr 6, 2010, at 10:38 PM, Chris Lattner wrote:

> Author: lattner
> Date: Wed Apr  7 00:38:05 2010
> New Revision: 100607
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=100607&view=rev
> Log:
> Have the inst emitter add the !srcloc mdnode to the machine instr.
> Have the asmprinter use the mdnode to scavenge a source location if
> present.  Document this nonsense in langref.

In case anyone is curious... with all this plumbing, clang can now produce diagnostics like this with the
integrated assembler:


Contrast this with:


Woot,

-Chris
_______________________________________________
llvm-commits mailing list
llvm-commits@...
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Gmane