summaryrefslogtreecommitdiffstats
path: root/llvm/test/ThinLTO/X86/Inputs/globals-import-blockaddr.ll
blob: 3349549f66fc25e5c66a105bd1756c2e4bf0fa5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
}
OpenPOWER on IntegriCloud