mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
be35802efc
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. llvm-svn: 223681
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
|
|
|