summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-04-15 00:10:26 +0000
committerDevang Patel <dpatel@apple.com>2009-04-15 00:10:26 +0000
commit32d17a1a293d2273b619a54a37a721554d39012f (patch)
treeb173ae5841b085786bc5762502c582c9b2c02628 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parentdd07f638f5f8966b975dabc35e4db2dc77907348 (diff)
downloadbcm5719-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.cpp2
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
OpenPOWER on IntegriCloud