14 lines · plain
1; RUN: llc < %s -mtriple=i686-pc-linux-gnu | FileCheck %s2 3@__gthrw_pthread_once = weak alias i32 (ptr, ptr), ptr @pthread_once ; <ptr> [#uses=0]4 5define weak i32 @pthread_once(ptr, ptr) {6 ret i32 07}8 9; CHECK: .weak pthread_once10; CHECK: pthread_once:11 12; CHECK: .weak __gthrw_pthread_once13; CHECK: __gthrw_pthread_once = pthread_once14