summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-14 08:18:13 +0000
committerChris Lattner <sabre@nondot.org>2010-03-14 08:18:13 +0000
commit6dcaba516fe7d4ecd4f9aaeb562962484c49ea07 (patch)
treee3edff873a0b480585ba0614fccd1e1c2d5e7a4e /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parentff1fdd6787cda3a21b9dc50291b856514a1797ec (diff)
downloadbcm5719-llvm-6dcaba516fe7d4ecd4f9aaeb562962484c49ea07.tar.gz
bcm5719-llvm-6dcaba516fe7d4ecd4f9aaeb562962484c49ea07.zip
don't use getDWLabel("label" anymore, always go through MMI.
llvm-svn: 98485
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index fd3902d8502..37769421b44 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1972,7 +1972,7 @@ void DwarfDebug::endScope(const MachineInstr *MI) {
if (I == DbgScopeEndMap.end())
return;
- MCSymbol *Label = getDWLabel("label", MMI->NextLabelID());
+ MCSymbol *Label = MMI->getLabelSym(MMI->NextLabelID());
Asm->OutStreamer.EmitLabel(Label);
SmallVector<DbgScope*, 2> &SD = I->second;
@@ -2220,7 +2220,7 @@ MCSymbol *DwarfDebug::recordSourceLine(unsigned Line, unsigned Col, MDNode *S) {
assert(0 && "Unexpected scope info");
unsigned Src = GetOrCreateSourceID(Dir, Fn);
- MCSymbol *Label = getDWLabel("label", MMI->NextLabelID());
+ MCSymbol *Label = MMI->getLabelSym(MMI->NextLabelID());
Lines.push_back(SrcLineInfo(Line, Col, Src, Label));
if (TimePassesIsEnabled)
OpenPOWER on IntegriCloud