1target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" 2target triple = "x86_64-apple-macosx10.11.0" 3 4 5define i32 @main() #0 { 6entry: 7 call void (...) @weakalias() 8 call void (...) @analias() 9 %call = call i32 (...) @referencestatics() 10 %call1 = call i32 (...) @referenceglobals() 11 %call2 = call i32 (...) @referencecommon() 12 call void (...) @setfuncptr() 13 call void (...) @callfuncptr() 14 call void (...) @callweakfunc() 15 ret i32 0 16} 17 18declare void @weakalias(...) #1 19 20declare void @analias(...) #1 21 22declare i32 @referencestatics(...) #1 23 24declare i32 @referenceglobals(...) #1 25 26declare i32 @referencecommon(...) #1 27 28declare void @setfuncptr(...) #1 29 30declare void @callfuncptr(...) #1 31 32declare void @callweakfunc(...) #1 33