| 1 |
; ModuleID = 'thinlto_weak_library2.c' |
| 2 |
source_filename = "thinlto_weak_library2.c" |
| 3 |
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" |
| 4 |
target triple = "x86_64-unknown-linux-gnu" |
| 5 |
|
| 6 |
; Function Attrs: nounwind uwtable |
| 7 |
define weak i32 @f() local_unnamed_addr { |
| 8 |
entry: |
| 9 |
ret i32 2 |
| 10 |
} |
| 11 |
|
| 12 |
; Function Attrs: nounwind uwtable |
| 13 |
define void @test2() local_unnamed_addr { |
| 14 |
entry: |
| 15 |
tail call i32 (...) @test1() |
| 16 |
tail call i32 @f() |
| 17 |
ret void |
| 18 |
} |
| 19 |
|
| 20 |
declare i32 @test1(...) local_unnamed_addr |