mirror of
https://github.com/apple/swift.git
synced 2026-10-30 22:15:52 +01:00
Add `testDwarfLookupsFor(path:addresses:)`, which prints the function and inline call sites that the DWARF reader finds for a list of addresses, and a test that runs it against some hand-crafted objects covering each of the recent bug fixes: - DwarfCallSiteAttrs.yaml: omitted `DW_AT_call_line`, `DW_AT_call_column` and `DW_AT_call_file`, and `DW_FORM_implicit_const`. - DwarfAddrxLowPC.yaml: a unit `DW_AT_low_pc` that is a `DW_FORM_addrx`. - DwarfNames.yaml: a definition whose linkage name differs from that of its `DW_AT_specification`, and out-of-line instances of inline functions. - DwarfNesting.yaml: nested inlined subroutines, some with more than one range, which must all be found and returned innermost first. assisted-by: claude rdar://191197119