1 2target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" 3target triple = "x86_64-apple-macosx10.11.0" 4 5define void @referencedbyglobal() { 6 ret void 7} 8 9@someglobal = internal unnamed_addr constant i8* bitcast (void ()* @referencedbyglobal to i8*) 10@ptr = global i8** null 11 12define void @bar() #0 align 2 { 13 store i8** getelementptr inbounds (i8*, i8** @someglobal, i64 0) , i8*** @ptr, align 8 14 ret void 15} 16 17