2013-11-15 01:12:32 +08:00
|
|
|
; RUN: llc < %s -mtriple=i686-pc-linux-gnu | FileCheck %s
|
|
|
|
|
2015-09-11 11:22:04 +08:00
|
|
|
@__gthrw_pthread_once = weak alias i32 (i32*, void ()*), i32 (i32*, void ()*)* @pthread_once ; <i32 (i32*, void ()*)*> [#uses=0]
|
2007-09-07 01:21:48 +08:00
|
|
|
|
2013-11-14 21:58:06 +08:00
|
|
|
define weak i32 @pthread_once(i32*, void ()*) {
|
|
|
|
ret i32 0
|
|
|
|
}
|
2013-11-15 01:12:32 +08:00
|
|
|
|
|
|
|
; CHECK: .weak pthread_once
|
|
|
|
; CHECK: pthread_once:
|
|
|
|
|
|
|
|
; CHECK: .weak __gthrw_pthread_once
|
|
|
|
; CHECK: __gthrw_pthread_once = pthread_once
|