[LLDB] Fix build failures after removing Version from DWARFExpression.

This commit is contained in:
Igor Kudrin 2020-01-27 19:33:34 +07:00
parent 8f3d47c54a
commit 9a952fd462

View File

@ -88,8 +88,7 @@ void DWARFExpression::UpdateValue(uint64_t const_value,
void DWARFExpression::DumpLocation(Stream *s, const DataExtractor &data,
lldb::DescriptionLevel level,
ABI *abi) const {
llvm::DWARFExpression(data.GetAsLLVM(), llvm::dwarf::DWARF_VERSION,
data.GetAddressByteSize())
llvm::DWARFExpression(data.GetAsLLVM(), data.GetAddressByteSize())
.print(s->AsRawOstream(), abi ? &abi->GetMCRegisterInfo() : nullptr,
nullptr);
}