14 lines · plain
1define void @f1(ptr %v) #0 {2entry:3 call void @weak_common(ptr %v)4 ret void5}6 7define weak hidden void @weak_common(ptr %v) #0 {8entry:9 store i32 12345, ptr %v10 ret void11}12 13attributes #0 = { noinline }14 1define void @f1(ptr %v) #0 {2entry:3 call void @weak_common(ptr %v)4 ret void5}6 7define weak hidden void @weak_common(ptr %v) #0 {8entry:9 store i32 12345, ptr %v10 ret void11}12 13attributes #0 = { noinline }14