[Hexagon] Adding multiply with rnd/sat/rndsat
[oota-llvm.git] / test / Linker / 2011-08-18-unique-class-type.ll
1 ; RUN: llvm-link %s %p/2011-08-18-unique-class-type2.ll -S -o - | FileCheck %s
2 ; CHECK: DW_TAG_class_type
3 ; CHECK-NOT: DW_TAG_class_type
4 ; Test to check there is only one MDNode for class A after linking.
5
6 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
7 target triple = "x86_64-apple-macosx10.7.0"
8
9 %"class.N1::A" = type { i8 }
10
11 define void @_Z3fooN2N11AE() nounwind uwtable ssp {
12 entry:
13   %mya = alloca %"class.N1::A", align 1
14   call void @llvm.dbg.declare(metadata %"class.N1::A"* %mya, metadata !9, metadata !{!"0x102"}), !dbg !13
15   ret void, !dbg !14
16 }
17
18 declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
19
20 !llvm.dbg.cu = !{!0}
21 !llvm.module.flags = !{!18}
22
23 !0 = !{!"0x11\004\00clang version 3.0 (trunk 137954)\001\00\000\00\000", !16, !2, !2, !3, !2, null} ; [ DW_TAG_compile_unit ]
24 !1 = !{!2}
25 !2 = !{i32 0}
26 !3 = !{!5}
27 !5 = !{!"0x2e\00foo\00foo\00_Z3fooN2N11AE\004\000\001\000\006\00256\000\000", !16, !6, !7, null, void ()* @_Z3fooN2N11AE, null, null, null} ; [ DW_TAG_subprogram ] [line 4] [def] [scope 0] [foo]
28 !6 = !{!"0x29", !16} ; [ DW_TAG_file_type ]
29 !7 = !{!"0x15\00\000\000\000\000\000\000", !16, !6, null, !8, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
30 !8 = !{null}
31 !9 = !{!"0x101\00mya\0016777220\000", !5, !6, !10} ; [ DW_TAG_arg_variable ]
32 !10 = !{!"0x2\00A\003\008\008\000\000\000", !17, !11, null, !2, null, null, null} ; [ DW_TAG_class_type ] [A] [line 3, size 8, align 8, offset 0] [def] [from ]
33 !11 = !{!"0x39\00N1\002", !17, null} ; [ DW_TAG_namespace ]
34 !12 = !{!"0x29", !17} ; [ DW_TAG_file_type ]
35 !13 = !{i32 4, i32 12, !5, null}
36 !14 = !{i32 4, i32 18, !15, null}
37 !15 = !{!"0xb\004\0017\000", !16, !5} ; [ DW_TAG_lexical_block ]
38 !16 = !{!"n1.c", !"/private/tmp"}
39 !17 = !{!"./n.h", !"/private/tmp"}
40 !18 = !{i32 1, !"Debug Info Version", i32 2}