brintos

brintos / llvm-project-archived public Read only

0
0
Text · 4.1 KiB · b0e0181 Raw
98 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: String (baz) at index 2 hashes to 0xb8860c2, but the Name Index hash is 0xb8860c45# CHECK: Name Index @ 0x0: Bucket 1 is not empty but points to a mismatched hash value 0xb8860c4 (belonging to bucket 0).6	.section	.debug_str,"MS",@progbits,17.Lstring_bar:8	.asciz	"bar"9.Lstring_baz:10	.asciz	"baz"11.Lstring_producer:12	.asciz	"Hand-written dwarf"13 14	.section	.debug_abbrev,"",@progbits15.Lsection_abbrev:16	.byte	1                       # Abbreviation Code17	.byte	17                      # DW_TAG_compile_unit18	.byte	1                       # DW_CHILDREN_yes19	.byte	37                      # DW_AT_producer20	.byte	14                      # DW_FORM_strp21	.byte	19                      # DW_AT_language22	.byte	5                       # DW_FORM_data223	.byte	0                       # EOM(1)24	.byte	0                       # EOM(2)25	.byte	2                       # Abbreviation Code26	.byte	46                      # DW_TAG_subprogram27	.byte	0                       # DW_CHILDREN_no28	.byte	3                       # DW_AT_name29	.byte	14                      # DW_FORM_strp30	.byte	63                      # DW_AT_external31	.byte	25                      # DW_FORM_flag_present32	.byte	0                       # EOM(1)33	.byte	0                       # EOM(2)34	.byte	0                       # EOM(3)35 36	.section	.debug_info,"",@progbits37.Lcu_begin0:38	.long	.Lcu_end0-.Lcu_start0   # Length of Unit39.Lcu_start0:40	.short	4                       # DWARF version number41	.long	.Lsection_abbrev        # Offset Into Abbrev. Section42	.byte	8                       # Address Size (in bytes)43	.byte	1                       # Abbrev [1] DW_TAG_compile_unit44	.long	.Lstring_producer       # DW_AT_producer45	.short	12                      # DW_AT_language46.Ldie_bar:47	.byte	2                       # Abbrev [2] DW_TAG_subprogram48	.long	.Lstring_bar            # DW_AT_name49                                        # DW_AT_external50.Ldie_baz:51	.byte	2                       # Abbrev [2] DW_TAG_subprogram52	.long	.Lstring_baz            # DW_AT_name53                                        # DW_AT_external54	.byte	0                       # End Of Children Mark55.Lcu_end0:56 57	.section	.debug_names,"",@progbits58	.long	.Lnames_end0-.Lnames_start0 # Header: contribution length59.Lnames_start0:60	.short	5                       # Header: version61	.short	0                       # Header: padding62	.long	1                       # Header: compilation unit count63	.long	0                       # Header: local type unit count64	.long	0                       # Header: foreign type unit count65	.long	2                       # Header: bucket count66	.long	2                       # Header: name count67	.long	.Lnames_abbrev_end0-.Lnames_abbrev_start0 # Header: abbreviation table size68	.long	0                       # Header: augmentation length69	.long	.Lcu_begin0             # Compilation unit 070	.long	1                       # Bucket 071	.long	2                       # Bucket 172	.long	193487034               # Hash in Bucket 173	.long	193487044               # Hash in Bucket 1 and 274	.long	.Lstring_bar            # String in Bucket 1: bar75	.long	.Lstring_baz            # String in Bucket 1 and 2: baz76	.long	.Lnames0-.Lnames_entries0 # Offset in Bucket 177	.long	.Lnames1-.Lnames_entries0 # Offset in Bucket 1 and 278.Lnames_abbrev_start0:79	.byte	46                      # Abbrev code80	.byte	46                      # DW_TAG_subprogram81	.byte	3                       # DW_IDX_die_offset82	.byte	19                      # DW_FORM_ref483	.byte	0                       # End of abbrev84	.byte	0                       # End of abbrev85	.byte	0                       # End of abbrev list86.Lnames_abbrev_end0:87.Lnames_entries0:88.Lnames0:89	.byte	46                      # Abbrev code90	.long	.Ldie_bar-.Lcu_begin0   # DW_IDX_die_offset91	.long	0                       # End of list: bar92.Lnames1:93	.byte	46                      # Abbrev code94	.long	.Ldie_baz-.Lcu_begin0   # DW_IDX_die_offset95	.long	0                       # End of list: baz96	.p2align	297.Lnames_end0:98