I am trying to debug a memory error detected by clang with asan, but missed by valgrind. But I cannot get my clang built bina
clang
asan
valgrind
For me, there is no llvm-symbolizer in /usr/bin, I need to first use
sudo ln -s /usr/bin/llvm-symbolizer-3.8 /usr/bin/llvm-symbolizer
to create the symbolizer and then add it to the PATH:
ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer ./test