mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
325be7c608
Also, fix a case, when target doesn't have weak symbols supported. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41746 91177308-0d34-0410-b5e6-96231b3b80d8
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 ()*)
|