mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-10-10 04:44:53 +00:00
Tweak to match change in LLVM API, in r306315.
llvm-svn: 306316
This commit is contained in:
parent
75c068c50b
commit
a22c98c030
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user