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