Fix build broken by llvm r327486

llvm::DWARFFormParams moved to llvm::dwarf::FormParams.

llvm-svn: 327489
This commit is contained in:
Pavel Labath
2018-03-14 09:57:52 +00:00
parent c683966cdd
commit fe9922f8af

View File

@@ -906,7 +906,7 @@ readCompUnit(const NormalizedFile &normalizedFile,
abbrevData.getU8(&abbrevOffset);
uint32_t name;
llvm::dwarf::Form form;
llvm::DWARFFormParams formParams = {version, addrSize, Format};
llvm::dwarf::FormParams formParams = {version, addrSize, Format};
TranslationUnitSource tu;
while ((name = abbrevData.getULEB128(&abbrevOffset)) |
(form = static_cast<llvm::dwarf::Form>(