mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 23:20:54 +00:00
0178d23ade
We already linked available_externally and linkonce lazily, this just adds declarations to the list. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254917 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
349 B
LLVM
13 lines
349 B
LLVM
; RUN: llvm-link %s %s %p/testlink.ll -S | FileCheck %s
|
|
; CHECK: kallsyms_names = extern_weak
|
|
; CHECK: Inte = global i32
|
|
; CHECK: MyVar = external global i32
|
|
|
|
@kallsyms_names = extern_weak global [0 x i8]
|
|
@MyVar = extern_weak global i32
|
|
@Inte = extern_weak global i32
|
|
|
|
define weak [0 x i8]* @use_kallsyms_names() {
|
|
ret [0 x i8]* @kallsyms_names
|
|
}
|