From d4ea4c18f13d670ded302dd3a592fc8df8a9938d Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Thu, 8 Dec 2016 01:56:23 +0000 Subject: Revert "[CodeGen] Fix invalid DWARF info on Win64" Appears to break on build bots. Reverting pending investigation. llvm-svn: 289014 --- llvm/lib/MC/MCCodeView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/MC/MCCodeView.cpp') diff --git a/llvm/lib/MC/MCCodeView.cpp b/llvm/lib/MC/MCCodeView.cpp index ae0e50a37d7..ac1acc08b0c 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. -- cgit v1.2.3