llvm-project/llvm/test/CodeGen/PowerPC/aix-WeakODRLinkage.ll

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 weak_odr void @_Z3fooIiEvT_() {
entry:
ret void
}
; CHECK: .weak _Z3fooIiEvT_[DS]
; CHECK: .weak ._Z3fooIiEvT_