diff options
author | Devang Patel <dpatel@apple.com> | 2009-04-15 00:10:26 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-04-15 00:10:26 +0000 |
commit | 32d17a1a293d2273b619a54a37a721554d39012f (patch) | |
tree | b173ae5841b085786bc5762502c582c9b2c02628 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | dd07f638f5f8966b975dabc35e4db2dc77907348 (diff) | |
download | bcm5719-llvm-32d17a1a293d2273b619a54a37a721554d39012f.tar.gz bcm5719-llvm-32d17a1a293d2273b619a54a37a721554d39012f.zip |
Construct and emit DW_TAG_inlined_subroutine DIEs for inlined subroutine scopes (only in FastISel mode).
llvm-svn: 69116
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 0979ced89a3..f1a45fd7eeb 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -1532,7 +1532,7 @@ void AsmPrinter::printLabel(unsigned Id) const { void AsmPrinter::printDeclare(const MachineInstr *MI) const { unsigned FI = MI->getOperand(0).getIndex(); GlobalValue *GV = MI->getOperand(1).getGlobal(); - DW->RecordVariable(cast<GlobalVariable>(GV), FI); + DW->RecordVariable(cast<GlobalVariable>(GV), FI, MI); } /// PrintAsmOperand - Print the specified operand of MI, an INLINEASM |