[PATCH] D20084: [sanitizer] Initial implementation of a Hardened Allocator
Kostya Kortchinsky via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 6 08:24:34 PDT 2016
cryptoad added a comment.
In http://reviews.llvm.org/D20084#449057, @kcc wrote:
> I am getting these when trying 'ninja check-scudo'
> /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/atomic:266: undefined reference to `__sync_val_compare_and_swap_16'
> Any suggestions?
Regarding @filcab's comment, -latomic is in the cflags in the lit.cfg, not sure why this is not working for you.
> BTW, do we make sure that check-scudo is not run if the current machine does not support proper SSE?
We do check for SSE 4.2 in the init of the Allocator via CHECK(testCPUFeature(SSE4_2))
http://reviews.llvm.org/D20084
More information about the llvm-commits
mailing list