mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
6e56ab6340
We were not handling the case where an entry must be dropped and the destination module has no llvm.global_ctors. llvm-svn: 254241
7 lines
223 B
LLVM
7 lines
223 B
LLVM
$foo = comdat any
|
|
@foo = global i8 1, comdat
|
|
@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @bar, i8* @foo }]
|
|
define void @bar() comdat($foo) {
|
|
ret void
|
|
}
|