OSDN Git Service

Have the inst emitter add the !srcloc mdnode to the machine instr.
authorChris Lattner <sabre@nondot.org>
Wed, 7 Apr 2010 05:38:05 +0000 (05:38 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 7 Apr 2010 05:38:05 +0000 (05:38 +0000)
commitcf9a415182aca6a432105a2a12168e1049de180a
treecc2f1629b01ff1198cbe3bf2810b7bfeaf2ac9ed
parentfee455ea6a7e209a3cac5fc8e601f8e85cfb3792
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100607 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LangRef.html
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
lib/CodeGen/SelectionDAG/InstrEmitter.cpp