summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2017-06-29 16:52:29 +0000
committerPaul Robinson <paul.robinson@sony.com>2017-06-29 16:52:29 +0000
commitc60318af243861f2ab9dcbad1da1c2e5f4cc981b (patch)
tree2b2b0b32e868d0a9f432153cfd3e0f4d8455df79
parent17536b935ae8a4ef2679ae5ccd541eddc60dceed (diff)
downloadbcm5719-llvm-c60318af243861f2ab9dcbad1da1c2e5f4cc981b.tar.gz
bcm5719-llvm-c60318af243861f2ab9dcbad1da1c2e5f4cc981b.zip
Tweak to match change in LLVM API, in r306699
llvm-svn: 306700
-rw-r--r--lld/ELF/InputFiles.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp
index 1ff0b4224e7..e07f24d665d 100644
--- a/lld/ELF/InputFiles.cpp
+++ b/lld/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
OpenPOWER on IntegriCloud