[PATCH] D81146: [MC] Generate .debug_aranges in the 64-bit DWARF format [4/7]

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 8 00:30:08 PDT 2020


jhenderson added inline comments.


================
Comment at: llvm/test/MC/ELF/gen-dwarf64.s:25
+# DUMP:       .debug_aranges contents:
+# DUMP-NEXT:  Address Range Header: length = 0x0000000000000034, format = DWARF64, version = 0x0002, cu_offset = 0x0000000000000000, addr_size = 0x08, seg_size = 0x00
+# DUMP-NEXT:  [0x0000000000000000,  0x0000000000000001)
----------------
Optionally, you could delete the bit after the `cu_offset` since it's not important.


================
Comment at: llvm/test/MC/MachO/gen-dwarf64.s:14
+// CHECK:      .debug_aranges contents:
+// CHECK-NEXT: Address Range Header: length = 0x0000000000000034, format = DWARF64, version = 0x0002, cu_offset = 0x0000000000000000, addr_size = 0x08, seg_size = 0x00
+// CHECK-NEXT: [0x0000000000000000,  0x0000000000000001)
----------------
Same comment as above.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81146/new/

https://reviews.llvm.org/D81146





More information about the llvm-commits mailing list