brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 47123f2 Raw
39 lines · plain
1# RUN: llvm-mc %s -filetype obj -triple i386-pc-linux -o %t.o2# RUN: llvm-dwarfdump -debug-addr %t.o | FileCheck %s3 4# CHECK:          .debug_addr contents5 6# CHECK-NEXT:     length = 0x0000000c, format = DWARF32, version = 0x0005, addr_size = 0x04, seg_size = 0x007# CHECK-NEXT:     Addrs: [8# CHECK-NEXT:     0x000000009# CHECK-NEXT:     0x0000000110# CHECK-NEXT:     ]11# CHECK-NEXT:     length = 0x00000004, format = DWARF32, version = 0x0005, addr_size = 0x04, seg_size = 0x0012# CHECK-NOT:      {{.}}13 14	.section	.debug_abbrev,"",@progbits15	.byte	1                       # Abbreviation Code16	.section	.debug_info,"",@progbits17.Lcu_begin0:18	.long 8	                      # Length of Unit19	.short	5                     # DWARF version number20  .byte 1                       # DWARF unit type21	.byte	4                       # Address Size (in bytes)22	.long	.debug_abbrev           # Offset Into Abbrev. Section23 24  .section  .debug_addr,"",@progbits25.Ldebug_addr0:26  .long 12 # unit_length = .short + .byte + .byte + .long + .long27  .short 5 # version28  .byte 4  # address_size29  .byte 0  # segment_selector_size30  .long 0x0000000031  .long 0x0000000132 33  .section  .debug_addr,"",@progbits34.Ldebug_addr1:35  .long 4  # unit_length = .short + .byte + .byte36  .short 5 # version37  .byte 4  # address_size38  .byte 0  # segment_selector_size39