[lld] r306700 - Tweak to match change in LLVM API, in r306699
Paul Robinson via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 29 09:52:29 PDT 2017
Author: probinson
Date: Thu Jun 29 09:52:29 2017
New Revision: 306700
URL: http://llvm.org/viewvc/llvm-project?rev=306700&view=rev
Log:
Tweak to match change in LLVM API, in r306699
Modified:
lld/trunk/ELF/InputFiles.cpp
Modified: lld/trunk/ELF/InputFiles.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputFiles.cpp?rev=306700&r1=306699&r2=306700&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.cpp (original)
+++ lld/trunk/ELF/InputFiles.cpp Thu Jun 29 09:52:29 2017
@@ -79,9 +79,9 @@ template <class ELFT> void elf::ObjectFi
ObjectInfo ObjInfo;
DWARFContextInMemory Dwarf(*Obj, &ObjInfo);
- DwarfLine.reset(new DWARFDebugLine(&Dwarf.getLineSection().Relocs));
- DataExtractor LineData(Dwarf.getLineSection().Data, Config->IsLE,
- Config->Wordsize);
+ DwarfLine.reset(new DWARFDebugLine);
+ DWARFDataExtractor LineData(Dwarf.getLineSection(), Config->IsLE,
+ Config->Wordsize);
// The second parameter is offset in .debug_line section
// for compilation unit (CU) of interest. We have only one
More information about the llvm-commits
mailing list