fb7b634e66a83162090d49a7137b473af2b7ef71
[oota-llvm.git] / test / Linker / Inputs / replaced-function-matches-first-subprogram.ll
1 %struct.Class = type { i8 }
2
3 define weak_odr i32 @_ZN5ClassIiE3fooEv(%struct.Class* %this) align 2 {
4 entry:
5   %this.addr = alloca %struct.Class*, align 8
6   store %struct.Class* %this, %struct.Class** %this.addr, align 8
7   %this1 = load %struct.Class** %this.addr
8   ret i32 0, !dbg !12
9 }
10
11 !llvm.dbg.cu = !{!0}
12 !llvm.module.flags = !{!8, !9, !10}
13 !llvm.ident = !{!11}
14
15 !0 = !{!"0x11\004\00clang version 3.6.0 (trunk 224193) (llvm/trunk 224197)\000\00\000\00\002", !1, !2, !2, !3, !2, !2} ; [ DW_TAG_compile_unit ] [/Users/dexonsmith/data/llvm/staging/test/Linker/repro/d2/t2.cpp] [DW_LANG_C_plus_plus]
16 !1 = !{!"t2.cpp", !"/Users/dexonsmith/data/llvm/staging/test/Linker/repro/d2"}
17 !2 = !{}
18 !3 = !{!4}
19 !4 = !{!"0x2e\00foo\00foo\00\002\000\001\000\000\00256\000\002", !5, !6, !7, null, i32 (%struct.Class*)* @_ZN5ClassIiE3fooEv, null, null, !2} ; [ DW_TAG_subprogram ] [line 2] [def] [foo]
20 !5 = !{!"../t.h", !"/Users/dexonsmith/data/llvm/staging/test/Linker/repro/d2"}
21 !6 = !{!"0x29", !5}    ; [ DW_TAG_file_type ] [/Users/dexonsmith/data/llvm/staging/test/Linker/repro/d2/../t.h]
22 !7 = !{!"0x15\00\000\000\000\000\000\000", null, null, null, !2, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
23 !8 = !{i32 2, !"Dwarf Version", i32 2}
24 !9 = !{i32 2, !"Debug Info Version", i32 2}
25 !10 = !{i32 1, !"PIC Level", i32 2}
26 !11 = !{!"clang version 3.6.0 (trunk 224193) (llvm/trunk 224197)"}
27 !12 = !{i32 2, i32 15, !4, null}