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 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.2 (trunk 165274) (llvm/trunk 165272)", isOptimized: false, emissionKind: FullDebug, file: !8, enums: !1, retainedTypes: !1, globals: !3, imports: !1) 10!1 = !{} 11!3 = !{!5} 12!5 = !DIGlobalVariable(name: "e", line: 2, isLocal: false, isDefinition: true, scope: null, file: !6, type: !7, variable: i16* @e) 13!6 = !DIFile(filename: "foo.cpp", directory: "/tmp") 14!7 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "E", line: 1, size: 16, align: 16, flags: DIFlagFwdDecl, file: !8) 15!8 = !DIFile(filename: "foo.cpp", directory: "/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 3} 22