diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-07-01 13:24:45 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-07-01 13:24:45 +0000 |
commit | 0317860f00ca8e821989c92c8a6cc461fd5f2009 (patch) | |
tree | ba31f275eb4dfa527c0cd564ba6c5016e2318b16 /ELF/InputFiles.cpp | |
parent | 4ea16835ba66f2240d050ffcaee44cee6c97cab9 (diff) |
Notes
Diffstat (limited to 'ELF/InputFiles.cpp')
-rw-r--r-- | ELF/InputFiles.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ELF/InputFiles.cpp b/ELF/InputFiles.cpp index 1ff0b4224e701..e07f24d665dfc 100644 --- a/ELF/InputFiles.cpp +++ b/ELF/InputFiles.cpp @@ -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 |