mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 01:12:59 +00:00
c0521dd4a2
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
|
|
}
|