mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
156c2d0f91
COFF doesn't support weak linkage on functions. llvm-svn: 278162
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*)
|
|
}
|