diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-08-02 03:46:05 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-08-02 03:46:05 +0000 |
commit | 6fda3b4b86a6b775446861be2b0bbd53597c00a3 (patch) | |
tree | 05da3d52908f9373b9b89889c12893179ef7648b /llvm/lib/CodeGen/AsmPrinter | |
parent | 3b5ea5178d32853b77f3448cfbd43e3abdb0e6bb (diff) | |
download | bcm5719-llvm-6fda3b4b86a6b775446861be2b0bbd53597c00a3.tar.gz bcm5719-llvm-6fda3b4b86a6b775446861be2b0bbd53597c00a3.zip |
Revert r187597, "Bugfix for making the DWARF debug strings and labels to code emitted as secrel32 instead of long opcodes (only for coff). This makes them debuggable with GDB."
It broke x86_64-win32 builder in llvm/test/DebugInfo.
llvm-svn: 187642
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 650acab757e..748259e298a 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -1416,10 +1416,6 @@ void AsmPrinter::EmitLabelOffsetDifference(const MCSymbol *Hi, uint64_t Offset, void AsmPrinter::EmitLabelPlusOffset(const MCSymbol *Label, uint64_t Offset, unsigned Size) const { - if (MAI->needsDwarfSectionOffsetDirective()) { - OutStreamer.EmitCOFFSecRel32(Label); - return; - } // Emit Label+Offset (or just Label if Offset is zero) const MCExpr *Expr = MCSymbolRefExpr::Create(Label, OutContext); |