search for: __external_weak__

Displaying 1 result from an estimated 1 matches for "__external_weak__".

2008 Nov 07
2
[LLVMdev] CBE errors
...om main.cbe.c. Notice that "pthread_cancel" is declared as a weak external symbol, but "_ZL22__gthrw_pthread_cancelm" is never declared (even though it is used). $ grep -Hn pthread_cancel main.cbe.c main.cbe.c:213:extern unsigned int pthread_cancel(unsigned long long ) __EXTERNAL_WEAK__; main.cbe.c:286: if ((((unsigned char )(bool )(((unsigned int )(bool ) (_ZL22__gthrw_pthread_cancelm != ((unsigned int (*) (unsigned long long ))/*NULL*/0))) != 0u)) != ((unsigned char )0))) { Here are the relevant lines from the LLVM bitcode. The bitcode appears correct since "pthre...