[Lldb-commits] [lldb] [lldb][DWARF64] Enable support for DWARF64 format handling (PR #145645)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 30 05:55:24 PDT 2025
================
@@ -119,10 +121,7 @@ bool DWARFFormValue::ExtractValue(const DWARFDataExtractor &data,
break;
case DW_FORM_ref_addr:
assert(m_unit);
- if (m_unit->GetVersion() <= 2)
- ref_addr_size = m_unit->GetAddressByteSize();
- else
- ref_addr_size = 4;
+ ref_addr_size = m_unit->GetFormParams().getRefAddrByteSize();
----------------
Michael137 wrote:
It's reset before it's used in each case though.
https://github.com/llvm/llvm-project/pull/145645
More information about the lldb-commits
mailing list