__csan_llvm_x86_sse2_pause seems to be missing for cilksan
I tried to add the compile flag
-mllvm -cilksan-bc-path=`find ~/opencilkv20/build/bin/clang++ -name "libcilksan.bc"
but that didn't fix it either
Adding the following to the code did work
#ifdef __cilksan__
#ifdef __cplusplus
extern "C" {
#endif
void __csan_default_libhook(uint64_t call_id, uint64_t func_id, unsigned count);
void __csan_llvm_x86_sse2_pause(uint64_t call_id, uint64_t func_id,
unsigned count) {
__csan_default_libhook(call_id, func_id, count);
}
#ifdef __cplusplus
}
#endif
#endif
As requested reporting the missing symbol. Let me know if the source would be helpful
__csan_llvm_x86_sse2_pauseseems to be missing for cilksanI tried to add the compile flag
but that didn't fix it either
Adding the following to the code did work
As requested reporting the missing symbol. Let me know if the source would be helpful