1; RUN: llc -O0 -mtriple=x86_64-apple-darwin %s -o %t -filetype=obj
2; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s
3
4@e = global i16 0, align 2
5
6!llvm.dbg.cu = !{!0}
7!llvm.module.flags = !{!9}
8
9!0 = !{!"0x11\004\00clang version 3.2 (trunk 165274) (llvm/trunk 165272)\000\00\000\00\000", !8, !1, !1, !1, !3,  !1} ; [ DW_TAG_compile_unit ] [/tmp/foo.cpp] [DW_LANG_C_plus_plus]
10!1 = !{}
11!3 = !{!5}
12!5 = !{!"0x34\00e\00e\00\002\000\001", null, !6, !7, i16* @e, null} ; [ DW_TAG_variable ] [e] [line 2] [def]
13!6 = !{!"0x29", !8} ; [ DW_TAG_file_type ]
14!7 = !{!"0x4\00E\001\0016\0016\000\004\000", !8, null, null, null, null, null, null} ; [ DW_TAG_enumeration_type ] [E] [line 1, size 16, align 16, offset 0] [decl] [from ]
15!8 = !{!"foo.cpp", !"/tmp"}
16
17; CHECK: DW_TAG_enumeration_type
18; CHECK-NEXT: DW_AT_name
19; CHECK-NEXT: DW_AT_byte_size
20; CHECK-NEXT: DW_AT_declaration
21!9 = !{i32 1, !"Debug Info Version", i32 2}
22