brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.7 KiB · 7398182 Raw
54 lines · plain
1# RUN: llvm-mc %s -filetype obj -triple i386-pc-linux -o - | \2# RUN: not llvm-dwarfdump -debug-addr - 2> %t.err | FileCheck %s3# RUN: FileCheck %s -input-file %t.err -check-prefix=ERR4 5# ERR: address table at offset 0x0 has unsupported version 66# ERR: address table at offset 0x20 has unsupported version 47# ERR-NOT: {{.}}8 9# CHECK: .debug_addr contents10# CHECK-NEXT:     length = 0x0000000c, format = DWARF32, version = 0x0005, addr_size = 0x04, seg_size = 0x0011# CHECK-NEXT:     Addrs: [12# CHECK-NEXT:     0x0000000213# CHECK-NEXT:     0x0000000314# CHECK-NEXT:     ]15# CHECK-NOT:      {{.}}16 17	.section	.debug_abbrev,"",@progbits18	.byte	1                       # Abbreviation Code19	.section	.debug_info,"",@progbits20.Lcu_begin0:21	.long 8	                      # Length of Unit22	.short	5                     # DWARF version number23  .byte 1                       # DWARF unit type24	.byte	4                       # Address Size (in bytes)25	.long	.debug_abbrev           # Offset Into Abbrev. Section26 27	.section	.debug_addr,"",@progbits28.Ldebug_addr0:29  .long 12 # unit_length = .short + .byte + .byte + .long + .long30  .short 6 # version31  .byte 4  # address_size32  .byte 0  # segment_selector_size33  .long 0x0000000034  .long 0x0000000135 36	.section	.debug_addr,"",@progbits37.Ldebug_addr1:38  .long 12 # unit_length = .short + .byte + .byte + .long + .long39  .short 5 # version40  .byte 4  # address_size41  .byte 0  # segment_selector_size42  .long 0x0000000243  .long 0x0000000344 45	.section	.debug_addr,"",@progbits46.Ldebug_addr2:47  .long 12 # unit_length = .short + .byte + .byte + .long + .long48  .short 4 # version49  .byte 4  # address_size50  .byte 0  # segment_selector_size51  .long 0x0000000052  .long 0x0000000153 54