2 ; RUN: llvm-link %s %p/2011-08-22-ResolveAlias2.ll
4 %union.pthread_attr_t = type { [56 x i8] }
5 %union.pthread_mutex_t = type { [40 x i8] }
6 %struct.timespec = type { i64, i64 }
7 %union.pthread_mutexattr_t = type { [4 x i8] }
8 %union.pthread_cond_t = type { [48 x i8] }
10 @_ZL20__gthrw_pthread_oncePiPFvvE = alias weak i32 (i32*, void ()*)* @pthread_once
11 @_ZL27__gthrw_pthread_getspecificj = alias weak i8* (i32)* @pthread_getspecific
12 @_ZL27__gthrw_pthread_setspecificjPKv = alias weak i32 (i32, i8*)* @pthread_setspecific
13 @_ZL22__gthrw_pthread_createPmPK14pthread_attr_tPFPvS3_ES3_ = alias weak i32 (i64*, %union.pthread_attr_t*, i8* (i8*)*, i8*)* @pthread_create
14 @_ZL20__gthrw_pthread_joinmPPv = alias weak i32 (i64, i8**)* @pthread_join
15 @_ZL21__gthrw_pthread_equalmm = alias weak i32 (i64, i64)* @pthread_equal
16 @_ZL20__gthrw_pthread_selfv = alias weak i64 ()* @pthread_self
17 @_ZL22__gthrw_pthread_detachm = alias weak i32 (i64)* @pthread_detach
18 @_ZL22__gthrw_pthread_cancelm = alias weak i32 (i64)* @pthread_cancel
19 @_ZL19__gthrw_sched_yieldv = alias weak i32 ()* @sched_yield
20 @_ZL26__gthrw_pthread_mutex_lockP15pthread_mutex_t = alias weak i32 (%union.pthread_mutex_t*)* @pthread_mutex_lock
21 @_ZL29__gthrw_pthread_mutex_trylockP15pthread_mutex_t = alias weak i32 (%union.pthread_mutex_t*)* @pthread_mutex_trylock
22 @_ZL31__gthrw_pthread_mutex_timedlockP15pthread_mutex_tPK8timespec = alias weak i32 (%union.pthread_mutex_t*, %struct.timespec*)* @pthread_mutex_timedlock
23 @_ZL28__gthrw_pthread_mutex_unlockP15pthread_mutex_t = alias weak i32 (%union.pthread_mutex_t*)* @pthread_mutex_unlock
24 @_ZL26__gthrw_pthread_mutex_initP15pthread_mutex_tPK19pthread_mutexattr_t = alias weak i32 (%union.pthread_mutex_t*, %union.pthread_mutexattr_t*)* @pthread_mutex_init
25 @_ZL29__gthrw_pthread_mutex_destroyP15pthread_mutex_t = alias weak i32 (%union.pthread_mutex_t*)* @pthread_mutex_destroy
26 @_ZL30__gthrw_pthread_cond_broadcastP14pthread_cond_t = alias weak i32 (%union.pthread_cond_t*)* @pthread_cond_broadcast
27 @_ZL27__gthrw_pthread_cond_signalP14pthread_cond_t = alias weak i32 (%union.pthread_cond_t*)* @pthread_cond_signal
28 @_ZL25__gthrw_pthread_cond_waitP14pthread_cond_tP15pthread_mutex_t = alias weak i32 (%union.pthread_cond_t*, %union.pthread_mutex_t*)* @pthread_cond_wait
29 @_ZL30__gthrw_pthread_cond_timedwaitP14pthread_cond_tP15pthread_mutex_tPK8timespec = alias weak i32 (%union.pthread_cond_t*, %union.pthread_mutex_t*, %struct.timespec*)* @pthread_cond_timedwait
30 @_ZL28__gthrw_pthread_cond_destroyP14pthread_cond_t = alias weak i32 (%union.pthread_cond_t*)* @pthread_cond_destroy
31 @_ZL26__gthrw_pthread_key_createPjPFvPvE = alias weak i32 (i32*, void (i8*)*)* @pthread_key_create
32 @_ZL26__gthrw_pthread_key_deletej = alias weak i32 (i32)* @pthread_key_delete
33 @_ZL30__gthrw_pthread_mutexattr_initP19pthread_mutexattr_t = alias weak i32 (%union.pthread_mutexattr_t*)* @pthread_mutexattr_init
34 @_ZL33__gthrw_pthread_mutexattr_settypeP19pthread_mutexattr_ti = alias weak i32 (%union.pthread_mutexattr_t*, i32)* @pthread_mutexattr_settype
35 @_ZL33__gthrw_pthread_mutexattr_destroyP19pthread_mutexattr_t = alias weak i32 (%union.pthread_mutexattr_t*)* @pthread_mutexattr_destroy
37 declare extern_weak i32 @pthread_once(i32*, void ()*)
39 declare extern_weak i8* @pthread_getspecific(i32)
41 declare extern_weak i32 @pthread_setspecific(i32, i8*)
43 declare extern_weak i32 @pthread_create(i64*, %union.pthread_attr_t*, i8* (i8*)*, i8*)
45 declare extern_weak i32 @pthread_join(i64, i8**)
47 declare extern_weak i32 @pthread_equal(i64, i64)
49 declare extern_weak i64 @pthread_self()
51 declare extern_weak i32 @pthread_detach(i64)
53 declare extern_weak i32 @pthread_cancel(i64)
55 declare extern_weak i32 @sched_yield()
57 declare extern_weak i32 @pthread_mutex_lock(%union.pthread_mutex_t*)
59 declare extern_weak i32 @pthread_mutex_trylock(%union.pthread_mutex_t*)
61 declare extern_weak i32 @pthread_mutex_timedlock(%union.pthread_mutex_t*, %struct.timespec*)
63 declare extern_weak i32 @pthread_mutex_unlock(%union.pthread_mutex_t*)
65 declare extern_weak i32 @pthread_mutex_init(%union.pthread_mutex_t*, %union.pthread_mutexattr_t*)
67 declare extern_weak i32 @pthread_mutex_destroy(%union.pthread_mutex_t*)
69 declare extern_weak i32 @pthread_cond_broadcast(%union.pthread_cond_t*)
71 declare extern_weak i32 @pthread_cond_signal(%union.pthread_cond_t*)
73 declare extern_weak i32 @pthread_cond_wait(%union.pthread_cond_t*, %union.pthread_mutex_t*)
75 declare extern_weak i32 @pthread_cond_timedwait(%union.pthread_cond_t*, %union.pthread_mutex_t*, %struct.timespec*)
77 declare extern_weak i32 @pthread_cond_destroy(%union.pthread_cond_t*)
79 declare extern_weak i32 @pthread_key_create(i32*, void (i8*)*)
81 declare extern_weak i32 @pthread_key_delete(i32)
83 declare extern_weak i32 @pthread_mutexattr_init(%union.pthread_mutexattr_t*)
85 declare extern_weak i32 @pthread_mutexattr_settype(%union.pthread_mutexattr_t*, i32)
87 declare extern_weak i32 @pthread_mutexattr_destroy(%union.pthread_mutexattr_t*)
89 declare void @_GLOBAL__sub_I__ZN10BitBoard64coEv() nounwind uwtable