mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
0e3789f07a
Also, fix a case, when target doesn't have weak symbols supported. llvm-svn: 41746
5 lines
222 B
LLVM
5 lines
222 B
LLVM
; RUN: llvm-as < %s | llc -march=x86 | grep weak | count 2
|
|
@__gthrw_pthread_once = alias weak i32 (i32*, void ()*)* @pthread_once ; <i32 (i32*, void ()*)*> [#uses=0]
|
|
|
|
declare extern_weak i32 @pthread_once(i32*, void ()*)
|