aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCCodeView.cpp
diff options
context:
space:
mode:
authorKeno Fischer <kfischer@college.harvard.edu>2016-12-08 01:56:23 +0000
committerKeno Fischer <kfischer@college.harvard.edu>2016-12-08 01:56:23 +0000
commitd4ea4c18f13d670ded302dd3a592fc8df8a9938d (patch)
treeb8a1b23031941634317fc201fc745ec6068f4b07 /llvm/lib/MC/MCCodeView.cpp
parent460218fb7d13132e4ea3def3b75eb43aa505b2db (diff)
downloadllvm-d4ea4c18f13d670ded302dd3a592fc8df8a9938d.zip
llvm-d4ea4c18f13d670ded302dd3a592fc8df8a9938d.tar.gz
llvm-d4ea4c18f13d670ded302dd3a592fc8df8a9938d.tar.bz2
Revert "[CodeGen] Fix invalid DWARF info on Win64"
Appears to break on build bots. Reverting pending investigation. llvm-svn: 289014
Diffstat (limited to 'llvm/lib/MC/MCCodeView.cpp')
-rw-r--r--llvm/lib/MC/MCCodeView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCCodeView.cpp b/llvm/lib/MC/MCCodeView.cpp
index ae0e50a..ac1acc0 100644
--- a/llvm/lib/MC/MCCodeView.cpp
+++ b/llvm/lib/MC/MCCodeView.cpp
@@ -200,7 +200,7 @@ void CodeViewContext::emitLineTableForFunction(MCObjectStreamer &OS,
OS.EmitIntValue(unsigned(ModuleSubstreamKind::Lines), 4);
OS.emitAbsoluteSymbolDiff(LineEnd, LineBegin, 4);
OS.EmitLabel(LineBegin);
- OS.EmitCOFFSecRel32(FuncBegin, /*Offset=*/0);
+ OS.EmitCOFFSecRel32(FuncBegin);
OS.EmitCOFFSectionIndex(FuncBegin);
// Actual line info.