diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-16 18:50:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-16 18:50:28 +0000 |
commit | 858431d0bc81ddab11363cc0eb2889dbfdc8362b (patch) | |
tree | 6b5acc658beaa85e7b6732f4ac5c304b793025e3 /lib/CodeGen/AsmPrinter/DIE.h | |
parent | 7a2ba94d03b43f41b54872dacd7b2250dde4c7bd (diff) | |
download | llvm-858431d0bc81ddab11363cc0eb2889dbfdc8362b.tar.gz llvm-858431d0bc81ddab11363cc0eb2889dbfdc8362b.tar.bz2 llvm-858431d0bc81ddab11363cc0eb2889dbfdc8362b.tar.xz |
Change DIEObjectLabel to take an MCSymbol instead of std::string.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93647 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DIE.h')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DIE.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/CodeGen/AsmPrinter/DIE.h b/lib/CodeGen/AsmPrinter/DIE.h index a6dc9b690c..ac9370405d 100644 --- a/lib/CodeGen/AsmPrinter/DIE.h +++ b/lib/CodeGen/AsmPrinter/DIE.h @@ -25,6 +25,7 @@ namespace llvm { class AsmPrinter; class Dwarf; class TargetData; + class MCSymbol; //===--------------------------------------------------------------------===// /// DIEAbbrevData - Dwarf abbreviation data, describes the one attribute of a @@ -333,10 +334,10 @@ namespace llvm { /// DIEObjectLabel - A label to an object in code or data. // class DIEObjectLabel : public DIEValue { - const std::string Label; + const MCSymbol *Sym; public: - explicit DIEObjectLabel(const std::string &L) - : DIEValue(isAsIsLabel), Label(L) {} + explicit DIEObjectLabel(const MCSymbol *S) + : DIEValue(isAsIsLabel), Sym(S) {} /// EmitValue - Emit label value. /// |