diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-14 08:18:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-14 08:18:13 +0000 |
commit | d5060b8782344d73a2f5a10bbeb717427efc75d0 (patch) | |
tree | 6685b8c697a430fdf77be19c881f5ff6258137ab | |
parent | 25e3d086379011fe80085d4e866e89dbfa1e8ffa (diff) | |
download | external_llvm-d5060b8782344d73a2f5a10bbeb717427efc75d0.tar.gz external_llvm-d5060b8782344d73a2f5a10bbeb717427efc75d0.tar.bz2 external_llvm-d5060b8782344d73a2f5a10bbeb717427efc75d0.zip |
don't use getDWLabel("label" anymore, always go through MMI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98485 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index fd3902d850..37769421b4 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/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) |