Re: [Valgrind-users] llvm clang

2016-06-23 Thread Philippe Waroquiers
In general, there should be no problem to use Valgrind on code/executable produced by clang (or whatever other compiler). Yes, the problem below seems to be related to the fact that you are using at the same time valgrind and ASan. If you want to use valgrind, then you should compile without ASan.

[Valgrind-users] llvm clang

2016-06-23 Thread Rick Leir
Hi all, Is it appropriate to compile with LLVM/Clang then debug with Valgrind? Linux 64 bit, Ubuntu. I selected the clang options in the following: $ sudo update-alternatives --config c++ $ sudo update-alternatives --config cc This was configured automatically when I installed clang: # ldconfig -