mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
27dfb53924
SUMMARY: emit .extern and .weak directive linkage Reviewers: hubert.reinterpretcast, Jason Liu Subscribers: wuzish, nemanjai, hiraditya Differential Revision: https://reviews.llvm.org/D76932
14 lines
271 B
LLVM
14 lines
271 B
LLVM
; RUN: llc -mtriple powerpc-ibm-aix-xcoff < %s | \
|
|
; RUN: FileCheck %s
|
|
|
|
; RUN: llc -mtriple powerpc64-ibm-aix-xcoff < %s | \
|
|
; RUN: FileCheck %s
|
|
|
|
define linkonce void @_Z3fooIiEvT_() {
|
|
entry:
|
|
ret void
|
|
}
|
|
|
|
; CHECK: .weak _Z3fooIiEvT_[DS]
|
|
; CHECK: .weak ._Z3fooIiEvT_
|