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