mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +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
275 B
LLVM
14 lines
275 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_odr void @_Z3fooIiEvT_() {
|
|
entry:
|
|
ret void
|
|
}
|
|
|
|
; CHECK: .weak _Z3fooIiEvT_[DS]
|
|
; CHECK: .weak ._Z3fooIiEvT_
|