llvm/test/tools/gold/X86/Inputs/thinlto_weak_library1.ll
raw| 1 | ; ModuleID = 'thinlto_weak_library1.c' |
| 2 | source_filename = "thinlto_weak_library1.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 1 |
| 10 | } |
| 11 | |
| 12 | ; Function Attrs: norecurse nounwind readnone uwtable |
| 13 | define i32 @test1() local_unnamed_addr { |
| 14 | entry: |
| 15 | %call = tail call i32 @f() |
| 16 | ret i32 %call |
| 17 | } |