llvm-dwarfdump: Account for skeleton addr_base when dumping addresses… · llvm/llvm-project@c8ae096 (original) (raw)

Original file line number Diff line number Diff line change
@@ -4,8 +4,8 @@
4 4 ; CHECK: .debug_info contents:
5 5 ; CHECK: .debug_info.dwo contents:
6 6 ; CHECK: DW_AT_ranges [DW_FORM_rnglistx] (indexed (0x0) rangelist = 0x00000004
7 -; CHECK: [0x0000000000000000, 0x000000000000000b) "x"
8 -; CHECK: [0x000000000000000d, 0x0000000000000012) "x")
7 +; CHECK: [0x0000000000000001, 0x000000000000000c) ".text"
8 +; CHECK: [0x000000000000000e, 0x0000000000000013) ".text")
9 9
10 10 ; CHECK: .debug_rnglists.dwo contents:
11 11 ; CHECK: 0x00000000: range list header: length = 0x00000015, version = 0x0005, addr_size = 0x08, seg_size = 0x00, offset_entry_count = 0x00000001