1 ; RUN: llc -mtriple=x86_64-apple-macosx10.7 %s -o %t -filetype=obj 2 ; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s 3 4 ; CHECK: ptr 5 ; CHECK-NOT: AT_bit_size 6 7 %struct.crass = type { i8* } 8 9 @crass = common global %struct.crass zeroinitializer, align 8 10 11 !llvm.dbg.cu = !{!0} 12 !llvm.module.flags = !{!14} 13 14 !0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.1 (trunk 147882)", isOptimized: false, emissionKind: FullDebug, file: !13, enums: !1, retainedTypes: !1, globals: !3, imports: !1) 15 !1 = !{} 16 !3 = !{!5} 17 !5 = !DIGlobalVariable(name: "crass", line: 1, isLocal: false, isDefinition: true, scope: null, file: !6, type: !7, variable: %struct.crass* @crass) 18 !6 = !DIFile(filename: "foo.c", directory: "/Users/echristo/tmp") 19 !7 = !DICompositeType(tag: DW_TAG_structure_type, name: "crass", line: 1, size: 64, align: 64, file: !13, elements: !8) 20 !8 = !{!9} 21 !9 = !DIDerivedType(tag: DW_TAG_member, name: "ptr", line: 1, size: 64, align: 64, file: !13, scope: !7, baseType: !10) 22 !10 = !DIDerivedType(tag: DW_TAG_const_type, baseType: !11) 23 !11 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !12) 24 !12 = !DIBasicType(tag: DW_TAG_base_type, name: "char", size: 8, align: 8, encoding: DW_ATE_signed_char) 25 !13 = !DIFile(filename: "foo.c", directory: "/Users/echristo/tmp") 26 !14 = !{i32 1, !"Debug Info Version", i32 3} 27