brintos

brintos / llvm-project-archived public Read only

0
0
Text · 7.0 KiB · e56fcd8 Raw
144 lines · plain
1# RUN: llvm-mc < %s -filetype obj -triple x86_64 -o %t2# RUN: not llvm-dwarfdump --verify %t | FileCheck %s3 4# CHECK: error: Simplified template DW_AT_name could not be reconstituted:5# CHECK:           original: t1<it>6# CHECK       reconstituted: t1<int>7	.text8	.file	"verify.cpp"9	.file	1 "/usr/local/google/home/blaikie/dev/scratch" "verify.cpp"10	.type	v1,@object                      # @v111	.bss12	.globl	v113v1:14	.zero	115	.size	v1, 116 17	.section	.debug_abbrev,"",@progbits18	.byte	1                               # Abbreviation Code19	.byte	17                              # DW_TAG_compile_unit20	.byte	1                               # DW_CHILDREN_yes21	.byte	37                              # DW_AT_producer22	.byte	14                              # DW_FORM_strp23	.byte	19                              # DW_AT_language24	.byte	5                               # DW_FORM_data225	.byte	3                               # DW_AT_name26	.byte	14                              # DW_FORM_strp27	.byte	16                              # DW_AT_stmt_list28	.byte	23                              # DW_FORM_sec_offset29	.byte	27                              # DW_AT_comp_dir30	.byte	14                              # DW_FORM_strp31	.byte	0                               # EOM(1)32	.byte	0                               # EOM(2)33	.byte	2                               # Abbreviation Code34	.byte	52                              # DW_TAG_variable35	.byte	0                               # DW_CHILDREN_no36	.byte	3                               # DW_AT_name37	.byte	14                              # DW_FORM_strp38	.byte	73                              # DW_AT_type39	.byte	19                              # DW_FORM_ref440	.byte	63                              # DW_AT_external41	.byte	25                              # DW_FORM_flag_present42	.byte	58                              # DW_AT_decl_file43	.byte	11                              # DW_FORM_data144	.byte	59                              # DW_AT_decl_line45	.byte	11                              # DW_FORM_data146	.byte	2                               # DW_AT_location47	.byte	24                              # DW_FORM_exprloc48	.byte	0                               # EOM(1)49	.byte	0                               # EOM(2)50	.byte	3                               # Abbreviation Code51	.byte	19                              # DW_TAG_structure_type52	.byte	1                               # DW_CHILDREN_yes53	.byte	54                              # DW_AT_calling_convention54	.byte	11                              # DW_FORM_data155	.byte	3                               # DW_AT_name56	.byte	14                              # DW_FORM_strp57	.byte	11                              # DW_AT_byte_size58	.byte	11                              # DW_FORM_data159	.byte	58                              # DW_AT_decl_file60	.byte	11                              # DW_FORM_data161	.byte	59                              # DW_AT_decl_line62	.byte	11                              # DW_FORM_data163	.byte	0                               # EOM(1)64	.byte	0                               # EOM(2)65	.byte	4                               # Abbreviation Code66	.byte	47                              # DW_TAG_template_type_parameter67	.byte	0                               # DW_CHILDREN_no68	.byte	73                              # DW_AT_type69	.byte	19                              # DW_FORM_ref470	.byte	3                               # DW_AT_name71	.byte	14                              # DW_FORM_strp72	.byte	0                               # EOM(1)73	.byte	0                               # EOM(2)74	.byte	5                               # Abbreviation Code75	.byte	36                              # DW_TAG_base_type76	.byte	0                               # DW_CHILDREN_no77	.byte	3                               # DW_AT_name78	.byte	14                              # DW_FORM_strp79	.byte	62                              # DW_AT_encoding80	.byte	11                              # DW_FORM_data181	.byte	11                              # DW_AT_byte_size82	.byte	11                              # DW_FORM_data183	.byte	0                               # EOM(1)84	.byte	0                               # EOM(2)85	.byte	0                               # EOM(3)86	.section	.debug_info,"",@progbits87.Lcu_begin0:88	.long	.Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit89.Ldebug_info_start0:90	.short	4                               # DWARF version number91	.long	.debug_abbrev                   # Offset Into Abbrev. Section92	.byte	8                               # Address Size (in bytes)93	.byte	1                               # Abbrev [1] 0xb:0x43 DW_TAG_compile_unit94	.long	.Linfo_string0                  # DW_AT_producer95	.short	33                              # DW_AT_language96	.long	.Linfo_string1                  # DW_AT_name97	.long	.Lline_table_start0             # DW_AT_stmt_list98	.long	.Linfo_string2                  # DW_AT_comp_dir99	.byte	2                               # Abbrev [2] 0x1e:0x15 DW_TAG_variable100	.long	.Linfo_string3                  # DW_AT_name101	.long	51                              # DW_AT_type102                                        # DW_AT_external103	.byte	1                               # DW_AT_decl_file104	.byte	2                               # DW_AT_decl_line105	.byte	9                               # DW_AT_location106	.byte	3107	.quad	v1108	.byte	3                               # Abbrev [3] 0x33:0x13 DW_TAG_structure_type109	.byte	5                               # DW_AT_calling_convention110	.long	.Linfo_string6                  # DW_AT_name111	.byte	1                               # DW_AT_byte_size112	.byte	1                               # DW_AT_decl_file113	.byte	1                               # DW_AT_decl_line114	.byte	4                               # Abbrev [4] 0x3c:0x9 DW_TAG_template_type_parameter115	.long	70                              # DW_AT_type116	.long	.Linfo_string5                  # DW_AT_name117	.byte	0                               # End Of Children Mark118	.byte	5                               # Abbrev [5] 0x46:0x7 DW_TAG_base_type119	.long	.Linfo_string4                  # DW_AT_name120	.byte	5                               # DW_AT_encoding121	.byte	4                               # DW_AT_byte_size122	.byte	0                               # End Of Children Mark123.Ldebug_info_end0:124	.section	.debug_str,"MS",@progbits,1125.Linfo_string0:126	.asciz	"clang version 14.0.0 (git@github.com:llvm/llvm-project.git 9daec0955132e6e33b086edc63c6f3e0f5712323)" # string offset=0127.Linfo_string1:128	.asciz	"verify.cpp"                    # string offset=101129.Linfo_string2:130	.asciz	"/usr/local/google/home/blaikie/dev/scratch" # string offset=112131.Linfo_string3:132	.asciz	"v1"                            # string offset=155133.Linfo_string4:134	.asciz	"int"                           # string offset=158135.Linfo_string5:136	.asciz	"T"                             # string offset=162137.Linfo_string6:138	.asciz	"_STN|t1|<it>"                   # string offset=164139	.ident	"clang version 14.0.0 (git@github.com:llvm/llvm-project.git 9daec0955132e6e33b086edc63c6f3e0f5712323)"140	.section	".note.GNU-stack","",@progbits141	.addrsig142	.section	.debug_line,"",@progbits143.Lline_table_start0:144