diff options
author | Keno Fischer <kfischer@college.harvard.edu> | 2017-01-02 03:00:19 +0000 |
---|---|---|
committer | Keno Fischer <kfischer@college.harvard.edu> | 2017-01-02 03:00:19 +0000 |
commit | f7d84ee6ff35c6bfe950bbf451c3e84ef23c194f (patch) | |
tree | a0f906023142187e040db3b68eeb7a5a3f72a703 /llvm/lib/MC/MCCodeView.cpp | |
parent | efcfe860723bc611b555d8d1db8c75405807b367 (diff) | |
download | llvm-f7d84ee6ff35c6bfe950bbf451c3e84ef23c194f.zip llvm-f7d84ee6ff35c6bfe950bbf451c3e84ef23c194f.tar.gz llvm-f7d84ee6ff35c6bfe950bbf451c3e84ef23c194f.tar.bz2 |
Reapply "[CodeGen] Fix invalid DWARF info on Win64"
This reapplies rL289013 (reverted in rL289014) with the fixes identified
in D21731. Should hopefully pass the buildbots this time.
llvm-svn: 290809
Diffstat (limited to 'llvm/lib/MC/MCCodeView.cpp')
-rw-r--r-- | llvm/lib/MC/MCCodeView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCCodeView.cpp b/llvm/lib/MC/MCCodeView.cpp index 22bdba1..3773542 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); + OS.EmitCOFFSecRel32(FuncBegin, /*Offset=*/0); OS.EmitCOFFSectionIndex(FuncBegin); // Actual line info. |