[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:20:21 PDT 2025
================
@@ -77,7 +77,9 @@ bool DWARFFormValue::ExtractValue(const DWARFDataExtractor &data,
case DW_FORM_strp:
case DW_FORM_line_strp:
case DW_FORM_sec_offset:
- m_value.uval = data.GetMaxU64(offset_ptr, 4);
+ assert(m_unit); // Unit must be valid
----------------
Michael137 wrote:
```suggestion
assert(m_unit);
```
https://github.com/llvm/llvm-project/pull/145645
More information about the lldb-commits
mailing list