Michael137 wrote: Looks like this error just happens anytime we build the aranges table for a CU. Any `DW_TAG_subprogram` without a `DW_AT_low_pc`/`DW_AT_high_pc` will fail here and log this error. Should we maybe just skip the call to `GetAttributeAddressRanges` here when we're looking at forward declaration DIEs? ``` void DWARFDebugInfoEntry::BuildFunctionAddressRangeTable( DWARFUnit *cu, DWARFDebugAranges *debug_aranges) const { Log *log = GetLog(DWARFLog::DebugInfo); if (m_tag) { if (m_tag == DW_TAG_subprogram) { if (llvm::Expected<llvm::DWARFAddressRangesVector> ranges = GetAttributeAddressRanges(cu, /*check_hi_lo_pc=*/true)) { ``` ?
@labath @adrian-prantl https://github.com/llvm/llvm-project/pull/144037 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits