summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2017-06-26 18:43:26 +0000
committerPaul Robinson <paul.robinson@sony.com>2017-06-26 18:43:26 +0000
commita22c98c03031ed90d79c460b4761f7fde5957413 (patch)
tree4f33f2dc23e9e9455deb9e22bfcd7d8c298d9934 /lld/lib/ReaderWriter
parent75c068c50bf8ce761b51344ffa09418c280cd27b (diff)
downloadbcm5719-llvm-a22c98c03031ed90d79c460b4761f7fde5957413.tar.gz
bcm5719-llvm-a22c98c03031ed90d79c460b4761f7fde5957413.zip
Tweak to match change in LLVM API, in r306315.
llvm-svn: 306316
Diffstat (limited to 'lld/lib/ReaderWriter')
-rw-r--r--lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp b/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
index 18fb71f16bc..226a25d3c1e 100644
--- a/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
+++ b/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
@@ -906,6 +906,7 @@ readCompUnit(const NormalizedFile &normalizedFile,
abbrevData.getU8(&abbrevOffset);
uint32_t name;
llvm::dwarf::Form form;
+ llvm::DWARFFormParams formParams = {version, addrSize, Format};
TranslationUnitSource tu;
while ((name = abbrevData.getULEB128(&abbrevOffset)) |
(form = static_cast<llvm::dwarf::Form>(
@@ -929,8 +930,7 @@ readCompUnit(const NormalizedFile &normalizedFile,
break;
}
default:
- llvm::DWARFFormValue::skipValue(form, infoData, &offset, version,
- addrSize, Format);
+ llvm::DWARFFormValue::skipValue(form, infoData, &offset, formParams);
}
}
return tu;
OpenPOWER on IntegriCloud