Chris Lattner | 7 Apr 07:50 2010

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:
> 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:


llvm-commits mailing list