mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
b3db052a71
Linker::LinkOnlyNeeded should always import globals with AppendingLinkage. This resolves PR33527. Differential Revision: https://reviews.llvm.org/D34448 llvm-svn: 310522
8 lines
166 B
LLVM
8 lines
166 B
LLVM
@used1 = global i8 4
|
|
@used2 = global i32 123
|
|
|
|
@llvm.used = appending global [2 x i8*] [
|
|
i8* @used1,
|
|
i8* bitcast (i32* @used2 to i8*)
|
|
], section "llvm.metadata"
|