mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
1d4a6cc6f5
We already linked available_externally and linkonce lazily, this just adds declarations to the list. llvm-svn: 254917
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
|
|
}
|