diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-06-28 20:05:04 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-06-28 20:05:04 +0000 |
commit | 95e72c90e4e2ee64e12d898f6495e796ebcadaf8 (patch) | |
tree | ed8b82e795907775d269c641fd2e092829fa1ddd /lib/CodeGen/AsmPrinter/DIE.cpp | |
parent | 2c77a625b79908f6e1238890caae630d28c48bee (diff) | |
download | external_llvm-95e72c90e4e2ee64e12d898f6495e796ebcadaf8.zip external_llvm-95e72c90e4e2ee64e12d898f6495e796ebcadaf8.tar.gz external_llvm-95e72c90e4e2ee64e12d898f6495e796ebcadaf8.tar.bz2 |
DebugInfo: Pass MCSymbolRefExprs for labels instead of MCSymbols
This is a precursor to adding debug info support for TLS which requires
non-default relocations applied to TLS symbols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185202 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DIE.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DIE.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DIE.cpp b/lib/CodeGen/AsmPrinter/DIE.cpp index 5f451a7..81bab33 100644 --- a/lib/CodeGen/AsmPrinter/DIE.cpp +++ b/lib/CodeGen/AsmPrinter/DIE.cpp @@ -253,7 +253,7 @@ void DIEInteger::print(raw_ostream &O) const { /// EmitValue - Emit label value. /// void DIELabel::EmitValue(AsmPrinter *AP, unsigned Form) const { - AP->OutStreamer.EmitSymbolValue(Label, SizeOf(AP, Form)); + AP->OutStreamer.EmitValue(Label, SizeOf(AP, Form)); } /// SizeOf - Determine size of label value in bytes. @@ -267,7 +267,7 @@ unsigned DIELabel::SizeOf(AsmPrinter *AP, unsigned Form) const { #ifndef NDEBUG void DIELabel::print(raw_ostream &O) const { - O << "Lbl: " << Label->getName(); + O << "Lbl: " << Label->getSymbol().getName(); } #endif |