mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-24 15:12:36 +00:00

With this I think that now llvm-link, lld and the gold plugin should agree on which symbol is kept. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264292 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
285 B
LLVM
15 lines
285 B
LLVM
; RUN: llvm-link -S %s %p/Inputs/pr27044.ll -o - | FileCheck %s
|
|
|
|
; CHECK: define i32 @f1() {
|
|
; CHECK: define i32 @g1() {
|
|
; CHECK: define void @f2() comdat($foo) {
|
|
; CHECK: define linkonce_odr i32 @g2() comdat($bar) {
|
|
|
|
define i32 @f1() {
|
|
ret i32 0
|
|
}
|
|
|
|
define i32 @g1() {
|
|
ret i32 0
|
|
}
|