mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 15:10:33 +00:00
3e3383f5f7
We were not handling the case where an entry must be dropped and the destination module has no llvm.global_ctors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254241 91177308-0d34-0410-b5e6-96231b3b80d8
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
|