1 2 3 4 5 @globalfuncAlias = alias void (...), bitcast (void ()* @globalfunc to void (...)*) 6 @globalfuncWeakAlias = weak alias void (...), bitcast (void ()* @globalfunc to void (...)*) 7 @globalfuncLinkonceAlias = linkonce alias void (...), bitcast (void ()* @globalfunc to void (...)*) 8 @globalfuncWeakODRAlias = weak_odr alias void (...), bitcast (void ()* @globalfunc to void (...)*) 9 @globalfuncLinkonceODRAlias = linkonce_odr alias void (...), bitcast (void ()* @globalfunc to void (...)*) 10 define void @globalfunc() { 11 entry: 12 ret void 13 } 14 15 @internalfuncAlias = alias void (...), bitcast (void ()* @internalfunc to void (...)*) 16 @internalfuncWeakAlias = weak alias void (...), bitcast (void ()* @internalfunc to void (...)*) 17 @internalfuncLinkonceAlias = linkonce alias void (...), bitcast (void ()* @internalfunc to void (...)*) 18 @internalfuncWeakODRAlias = weak_odr alias void (...), bitcast (void ()* @internalfunc to void (...)*) 19 @internalfuncLinkonceODRAlias = linkonce_odr alias void (...), bitcast (void ()* @internalfunc to void (...)*) 20 define internal void @internalfunc() { 21 entry: 22 ret void 23 } 24 25 @linkonceODRfuncAlias = alias void (...), bitcast (void ()* @linkonceODRfunc to void (...)*) 26 @linkonceODRfuncWeakAlias = weak alias void (...), bitcast (void ()* @linkonceODRfunc to void (...)*) 27 @linkonceODRfuncLinkonceAlias = linkonce alias void (...), bitcast (void ()* @linkonceODRfunc to void (...)*) 28 @linkonceODRfuncWeakODRAlias = weak_odr alias void (...), bitcast (void ()* @linkonceODRfunc to void (...)*) 29 @linkonceODRfuncLinkonceODRAlias = linkonce_odr alias void (...), bitcast (void ()* @linkonceODRfunc to void (...)*) 30 define linkonce_odr void @linkonceODRfunc() { 31 entry: 32 ret void 33 } 34 35 @weakODRfuncAlias = alias void (...), bitcast (void ()* @weakODRfunc to void (...)*) 36 @weakODRfuncWeakAlias = weak alias void (...), bitcast (void ()* @weakODRfunc to void (...)*) 37 @weakODRfuncLinkonceAlias = linkonce alias void (...), bitcast (void ()* @weakODRfunc to void (...)*) 38 @weakODRfuncWeakODRAlias = weak_odr alias void (...), bitcast (void ()* @weakODRfunc to void (...)*) 39 @weakODRfuncLinkonceODRAlias = linkonce_odr alias void (...), bitcast (void ()* @weakODRfunc to void (...)*) 40 define weak_odr void @weakODRfunc() { 41 entry: 42 ret void 43 } 44 45 @linkoncefuncAlias = alias void (...), bitcast (void ()* @linkoncefunc to void (...)*) 46 @linkoncefuncWeakAlias = weak alias void (...), bitcast (void ()* @linkoncefunc to void (...)*) 47 @linkoncefuncLinkonceAlias = linkonce alias void (...), bitcast (void ()* @linkoncefunc to void (...)*) 48 @linkoncefuncWeakODRAlias = weak_odr alias void (...), bitcast (void ()* @linkoncefunc to void (...)*) 49 @linkoncefuncLinkonceODRAlias = linkonce_odr alias void (...), bitcast (void ()* @linkoncefunc to void (...)*) 50 define linkonce void @linkoncefunc() { 51 entry: 52 ret void 53 } 54 55 @weakfuncAlias = alias void (...), bitcast (void ()* @weakfunc to void (...)*) 56 @weakfuncWeakAlias = weak alias void (...), bitcast (void ()* @weakfunc to void (...)*) 57 @weakfuncLinkonceAlias = linkonce alias void (...), bitcast (void ()* @weakfunc to void (...)*) 58 @weakfuncWeakODRAlias = weak_odr alias void (...), bitcast (void ()* @weakfunc to void (...)*) 59 @weakfuncLinkonceODRAlias = linkonce_odr alias void (...), bitcast (void ()* @weakfunc to void (...)*) 60 define weak void @weakfunc() { 61 entry: 62 ret void 63 } 64 65