For split dwarf some of the sections remain in the main binary. For DWARF4 it's
.debug_ranges, .debug_addr. For DWARF5 it's .debug_addr. When using
llvm-dwarfdump on .dwo/.dwp files this results in not being able to see what ranges
and addresses for DW_AT_low_pc are used in DIEs, and output having "Error: " in it.
I added a new option --main-binary=<binary> that will create a link in
DWARFContext between DWO context and main binary. This allows tool to display
addresses for DW_AT_ranges and DW_AT_low_pc.
DW_TAG_inlined_subroutine DW_AT_abstract_origin (0x00000b21 "flush_RL") DW_AT_ranges (indexed (0x0) rangelist = 0x00000054 [0x0000000000403fe2, 0x0000000000403ff3) [0x0000000000403ff6, 0x0000000000403ffe)) DW_TAG_subprogram DW_AT_low_pc (0x0000000000403940)