brintos

brintos / llvm-project-archived public Read only

0
0
Text · 5.0 KiB · 72ee6d7 Raw
124 lines · plain
1# RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj | \2# RUN:   not llvm-dwarfdump -verify - | FileCheck %s3 4# CHECK: Name Index @ 0x0: Name table entries [1, 1] are not covered by the hash table.5# CHECK: Name Index @ 0x0: Name table entries [4, 4] are not covered by the hash table.6	.section	.debug_str,"MS",@progbits,17.Lstring_foo:8	.asciz	"foo"9.Lstring_bar:10	.asciz	"bar"11.Lstring_baz:12	.asciz	"baz"13.Lstring_barfuz:14	.asciz	"barfuz"15.Lstring_producer:16	.asciz	"Hand-written dwarf"17 18	.section	.debug_abbrev,"",@progbits19.Lsection_abbrev:20	.byte	1                       # Abbreviation Code21	.byte	17                      # DW_TAG_compile_unit22	.byte	1                       # DW_CHILDREN_yes23	.byte	37                      # DW_AT_producer24	.byte	14                      # DW_FORM_strp25	.byte	19                      # DW_AT_language26	.byte	5                       # DW_FORM_data227	.byte	0                       # EOM(1)28	.byte	0                       # EOM(2)29	.byte	2                       # Abbreviation Code30	.byte	46                      # DW_TAG_subprogram31	.byte	0                       # DW_CHILDREN_no32	.byte	3                       # DW_AT_name33	.byte	14                      # DW_FORM_strp34	.byte	63                      # DW_AT_external35	.byte	25                      # DW_FORM_flag_present36	.byte	0                       # EOM(1)37	.byte	0                       # EOM(2)38	.byte	0                       # EOM(3)39 40	.section	.debug_info,"",@progbits41.Lcu_begin0:42	.long	.Lcu_end0-.Lcu_start0   # Length of Unit43.Lcu_start0:44	.short	4                       # DWARF version number45	.long	.Lsection_abbrev        # Offset Into Abbrev. Section46	.byte	8                       # Address Size (in bytes)47	.byte	1                       # Abbrev [1] DW_TAG_compile_unit48	.long	.Lstring_producer       # DW_AT_producer49	.short	12                      # DW_AT_language50.Ldie_foo:51	.byte	2                       # Abbrev [2] DW_TAG_subprogram52	.long	.Lstring_foo            # DW_AT_name53                                        # DW_AT_external54.Ldie_bar:55	.byte	2                       # Abbrev [2] DW_TAG_subprogram56	.long	.Lstring_bar            # DW_AT_name57                                        # DW_AT_external58.Ldie_baz:59	.byte	2                       # Abbrev [2] DW_TAG_subprogram60	.long	.Lstring_baz            # DW_AT_name61                                        # DW_AT_external62.Ldie_barfuz:63	.byte	2                       # Abbrev [2] DW_TAG_subprogram64	.long	.Lstring_barfuz         # DW_AT_name65                                        # DW_AT_external66	.byte	0                       # End Of Children Mark67.Lcu_end0:68 69	.section	.debug_names,"",@progbits70	.long	.Lnames_end0-.Lnames_start0 # Header: contribution length71.Lnames_start0:72	.short	5                       # Header: version73	.short	0                       # Header: padding74	.long	1                       # Header: compilation unit count75	.long	0                       # Header: local type unit count76	.long	0                       # Header: foreign type unit count77	.long	2                       # Header: bucket count78	.long	4                       # Header: name count79	.long	.Lnames_abbrev_end0-.Lnames_abbrev_start0 # Header: abbreviation table size80	.long	0                       # Header: augmentation length81	.long	.Lcu_begin0             # Compilation unit 082	.long	2                       # Bucket 083	.long	3                       # Bucket 184	.long	193491849               # Hash in no Bucket85	.long	193487034               # Hash in Bucket 086	.long	4086570991              # Hash in Bucket 187	.long	193487042               # Hash in no Bucket88	.long	.Lstring_foo            # String in no Bucket89	.long	.Lstring_bar            # String in Bucket 090	.long	.Lstring_barfuz         # String in Bucket 191	.long	.Lstring_baz            # String in no Bucket92	.long	.Lnames0-.Lnames_entries0 # Offset in no Bucket93	.long	.Lnames1-.Lnames_entries0 # Offset in Bucket 094	.long	.Lnames2-.Lnames_entries0 # Offset in Bucket 195	.long	.Lnames3-.Lnames_entries0 # Offset in no Bucket96.Lnames_abbrev_start0:97	.byte	46                      # Abbrev code98	.byte	46                      # DW_TAG_subprogram99	.byte	3                       # DW_IDX_die_offset100	.byte	19                      # DW_FORM_ref4101	.byte	0                       # End of abbrev102	.byte	0                       # End of abbrev103	.byte	0                       # End of abbrev list104.Lnames_abbrev_end0:105.Lnames_entries0:106.Lnames0:107	.byte	46                      # Abbrev code108	.long	.Ldie_foo-.Lcu_begin0   # DW_IDX_die_offset109	.long	0                       # End of list: foo110.Lnames1:111	.byte	46                      # Abbrev code112	.long	.Ldie_bar-.Lcu_begin0   # DW_IDX_die_offset113	.long	0                       # End of list: bar114.Lnames2:115	.byte	46                      # Abbrev code116	.long	.Ldie_baz-.Lcu_begin0   # DW_IDX_die_offset117	.long	0                       # End of list: baz118.Lnames3:119	.byte	46                      # Abbrev code120	.long	.Ldie_barfuz-.Lcu_begin0# DW_IDX_die_offset121	.long	0                       # End of list: barfuz122	.p2align	2123.Lnames_end0:124