mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-22 03:35:35 -04:00
d5ab2f8e97
COFF doesn't support weak linkage on functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278162 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
119 B
LLVM
10 lines
119 B
LLVM
define weak i32 @baz() #0 {
|
|
entry:
|
|
ret i32 0
|
|
}
|
|
|
|
define i8* @bar() {
|
|
entry:
|
|
ret i8* bitcast (i32 ()* @baz to i8*)
|
|
}
|