]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/blob - test/DebugInfo/X86/pointer-type-size.ll
Updates to sync with changes in upstream.
[opencl/llvm.git] / test / DebugInfo / X86 / pointer-type-size.ll
1 ; RUN: llc -mtriple=x86_64-apple-macosx10.7 %s -o %t -filetype=obj
2 ; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s
4 ; CHECK: ptr
5 ; CHECK-NOT: AT_bit_size
7 %struct.crass = type { i8* }
9 @crass = common global %struct.crass zeroinitializer, align 8
11 !llvm.dbg.cu = !{!0}
12 !llvm.module.flags = !{!14}
14 !0 = !{!"0x11\0012\00clang version 3.1 (trunk 147882)\000\00\000\00\000", !13, !1, !1, !1, !3,  !1} ; [ DW_TAG_compile_unit ]
15 !1 = !{}
16 !3 = !{!5}
17 !5 = !{!"0x34\00crass\00crass\00\001\000\001", null, !6, !7, %struct.crass* @crass, null} ; [ DW_TAG_variable ]
18 !6 = !{!"0x29", !13} ; [ DW_TAG_file_type ]
19 !7 = !{!"0x13\00crass\001\0064\0064\000\000\000", !13, null, null, !8, null, null, null} ; [ DW_TAG_structure_type ] [crass] [line 1, size 64, align 64, offset 0] [def] [from ]
20 !8 = !{!9}
21 !9 = !{!"0xd\00ptr\001\0064\0064\000\000", !13, !7, !10} ; [ DW_TAG_member ]
22 !10 = !{!"0x26\00\000\000\000\000\000", null, null, !11} ; [ DW_TAG_const_type ]
23 !11 = !{!"0xf\00\000\0064\0064\000\000", null, null, !12} ; [ DW_TAG_pointer_type ]
24 !12 = !{!"0x24\00char\000\008\008\000\000\006", null, null} ; [ DW_TAG_base_type ]
25 !13 = !{!"foo.c", !"/Users/echristo/tmp"}
26 !14 = !{i32 1, !"Debug Info Version", i32 2}