mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
832680bbb5
With this I think that now llvm-link, lld and the gold plugin should agree on which symbol is kept. llvm-svn: 264292
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
|
|
}
|