brintos

brintos / llvm-project-archived public Read only

0
0
Text · 4.1 KiB · 5bcb238 Raw
108 lines · plain
1# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t2# RUN: llvm-dwarfdump -debug-names %t | FileCheck %s3 4# CHECK:      LocalTU[0]: 0x0000000d5# CHECK-NEXT: LocalTU[1]: 0x000000286# CHECK:      ForeignTU[0]: 0x00112233445566777# CHECK-NEXT: ForeignTU[1]: 0x11223344556677888 9	.section	.debug_abbrev,"",@progbits10	.byte	1                       # Abbreviation Code11	.byte	17                      # DW_TAG_compile_unit12	.byte	0                       # DW_CHILDREN_no13	.byte	0                       # EOM(1)14	.byte	0                       # EOM(2)15	.byte	2                       # Abbreviation Code16	.byte	19                      # DW_TAG_structure_type17	.byte	0                       # DW_CHILDREN_no18	.byte	3                       # DW_AT_name19	.byte	8                       # DW_FORM_string20	.byte	0                       # EOM(1)21	.byte	0                       # EOM(2)22	.byte	023 24	.section	.debug_names,"",@progbits25	.long	.Lnames_end0-.Lnames_start0 # Header: unit length26.Lnames_start0:27	.short	5                       # Header: version28	.short	0                       # Header: padding29	.long	1                       # Header: compilation unit count30	.long	2                       # Header: local type unit count31	.long	2                       # Header: foreign type unit count32	.long	0                       # Header: bucket count33	.long	2                       # Header: name count34	.long	.Lnames_abbrev_end0-.Lnames_abbrev_start0 # Header: abbreviation table size35	.long	0                       # Header: augmentation string size36	.long	.Lcu_begin0             # Compilation unit 037	.long	.Ltu_begin0             # Local TU 038	.long	.Ltu_begin1             # Local TU 139	.quad	0x0011223344556677      # Foreign TU 040	.quad	0x1122334455667788      # Foreign TU 141	.long	.Lstring0               # String in Bucket 0: A42	.long	.Lstring1               # String in Bucket 1: B43	.long	.Lnames0-.Lnames_entries0 # Offset in Bucket 044	.long	.Lnames1-.Lnames_entries0 # Offset in Bucket 145 46.Lnames_abbrev_start0:47	.byte	1                       # Abbrev code48	.byte	19                      # DW_TAG_structure_type49	.byte	3                       # DW_IDX_die_offset50	.byte	19                      # DW_FORM_ref451	.byte	0                       # End of abbrev52	.byte	0                       # End of abbrev53	.byte	0                       # End of abbrev list54.Lnames_abbrev_end0:55.Lnames_entries0:56.Lnames0:57	.byte	1                       # Abbreviation code58	.long	.Ltu_die0-.Lcu_begin0   # DW_IDX_die_offset59	.long	0                       # End of list: A60.Lnames1:61	.byte	1                       # Abbreviation code62	.long	.Ltu_die1-.Lcu_begin0   # DW_IDX_die_offset63	.long	0                       # End of list: B64	.p2align 265.Lnames_end0:66 67	.section	.debug_info,"",@progbits68.Lcu_begin0:69	.long	.Lcu_end0-.Lcu_begin0-4 # Length of Unit70	.short	5                       # DWARF version number71	.byte	1                       # DW_UT_compile72	.byte	8                       # Address Size (in bytes)73	.long	.debug_abbrev           # Offset Into Abbrev. Section74	.byte	1                       # Abbrev [1] DW_TAG_compile_unit75.Lcu_end0:76 77.Ltu_begin0:78	.long	.Ltu_end0-.Ltu_begin0-4 # Length of Unit79	.short	5                       # DWARF version number80	.byte	2                       # DW_UT_type81	.byte	8                       # Address Size (in bytes)82	.long	.debug_abbrev           # Offset Into Abbrev. Section83	.quad	0x0011223344556677      # Type Signature84	.long	.Ltu_die0-.Ltu_begin0   # Type Offset85.Ltu_die0:86	.byte	2                       # Abbrev [2] DW_TAG_structure_type87	.asciz "A"88.Ltu_end0:89 90.Ltu_begin1:91	.long	.Ltu_end1-.Ltu_begin1-4 # Length of Unit92	.short	5                       # DWARF version number93	.byte	2                       # DW_UT_type94	.byte	8                       # Address Size (in bytes)95	.long	.debug_abbrev           # Offset Into Abbrev. Section96	.quad	0x1122334455667788      # Type Signature97	.long	.Ltu_die1-.Ltu_begin1   # Type Offset98.Ltu_die1:99	.byte	2                       # Abbrev [1] 0xc:0x48 DW_TAG_structure_type100	.asciz "B"101.Ltu_end1:102 103	.section	.debug_str,"MS",@progbits,1104.Lstring0:105	.asciz	"A"106.Lstring1:107	.asciz	"B"108