mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-27 13:40:43 +00:00
7fd7effa37
We were already lazily linking functions, but all GlobalValues can be treated uniformly for this. The test updates are to ensure that a given GlobalValue is still linked in. This fixes pr21494. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223681 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
318 B
LLVM
11 lines
318 B
LLVM
; RUN: llvm-link -S %s -o - | FileCheck %s
|
|
|
|
; CHECK-DAG: @foo = private externally_initialized global i8* null
|
|
@foo = private externally_initialized global i8* null
|
|
|
|
@useFoo = global i8** @foo
|
|
|
|
; CHECK-DAG: @array = appending global [7 x i8] c"abcdefg", align 1
|
|
@array = appending global [7 x i8] c"abcdefg", align 1
|
|
|