forked from OSchip/llvm-project
Tweak to match change in LLVM API, in r306699
llvm-svn: 306700
This commit is contained in:
parent
17536b935a
commit
c60318af24
|
@ -79,9 +79,9 @@ template <class ELFT> void elf::ObjectFile<ELFT>::initializeDwarfLine() {
|
|||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue