mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +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
|
|
|