llvm-for-llvmta/test/ThinLTO/X86/Inputs/globals-import-blockaddr.ll

13 lines
369 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@label_addr = internal constant [1 x i8*] [i8* blockaddress(@foo, %lb)], align 8
; Function Attrs: noinline norecurse nounwind optnone uwtable
define dso_local [1 x i8*]* @foo() {
br label %lb
lb:
ret [1 x i8*]* @label_addr
}