brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.0 KiB · 5b391f8 Raw
45 lines · plain
1;; Demonstrate dumping DW_AT_APPLE_enum_kind.2; RUN: llvm-mc -triple=aarch64--darwin -filetype=obj < %s | \3; RUN:     llvm-dwarfdump -v - | FileCheck %s4 5; CHECK: .debug_abbrev contents:6; CHECK: DW_AT_APPLE_enum_kind DW_FORM_data17; CHECK: .debug_info contents:8; CHECK: DW_AT_APPLE_enum_kind [DW_FORM_data1] (DW_APPLE_ENUM_KIND_Closed)9; CHECK: DW_AT_APPLE_enum_kind [DW_FORM_data1] (DW_APPLE_ENUM_KIND_Open)10 11	.section	__DWARF,__debug_abbrev,regular,debug12Lsection_abbrev:13	.byte	1                               ; Abbreviation Code14	.byte	17                              ; DW_TAG_compile_unit15	.byte	1                               ; DW_CHILDREN_yes16	.byte	0                               ; EOM(1)17	.byte	0                               ; EOM(2)18	.byte	2                               ; Abbreviation Code19	.byte	4                               ; DW_TAG_enumeration_type20	.byte	0                               ; DW_CHILDREN_no21	.ascii	"\361\177"                      ; DW_AT_APPLE_enum_kind22	.byte	11                              ; DW_FORM_data123	.byte	0                               ; EOM(1)24	.byte	0                               ; EOM(2)25	.byte	0                               ; EOM(3)26	.section	__DWARF,__debug_info,regular,debug27Lsection_info:28Lcu_begin0:29.set Lset0, Ldebug_info_end0-Ldebug_info_start0 ; Length of Unit30	.long	Lset031Ldebug_info_start0:32	.short	5                               ; DWARF version number33	.byte	1                               ; DWARF Unit Type34	.byte	8                               ; Address Size (in bytes)35.set Lset1, Lsection_abbrev-Lsection_abbrev ; Offset Into Abbrev. Section36	.long	Lset137	.byte	1                               ; Abbrev [1] 0xc:0x40 DW_TAG_compile_unit38	.byte	2                               ; Abbrev [3] 0x2a:0x9 DW_TAG_enumeration_type39	.byte	0                               ; DW_APPLE_ENUM_KIND_Closed40	.byte	2                               ; Abbrev [3] 0x42:0x9 DW_TAG_enumeration_type41	.byte	1                               ; DW_APPLE_ENUM_KIND_Open42	.byte	0                               ; End Of Children Mark43Ldebug_info_end0:44 45