mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +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
8 lines
238 B
LLVM
8 lines
238 B
LLVM
; RUN: llvm-link -S %s %p/Inputs/ctors2.ll -o - | FileCheck %s
|
|
|
|
$foo = comdat any
|
|
@foo = global i8 0, comdat
|
|
|
|
; CHECK: @foo = global i8 0, comdat
|
|
; CHECK: @llvm.global_ctors = appending global [0 x { i32, void ()*, i8* }] zeroinitializer
|