Hi,
I've made a simple patch to allow running LLVM's test suite under valgrind. By default it doesn't do any memory leak checking because valgrind reports problems in most tests..
To run the tests with valgrind one has to run 'cd test && make VG=1', similar with what we have with clang.
So is this patch ok and/or desirable?
Regards,
Nuno
P.S.: Warning: it takes a loong time to run all the tests with valgrind.
llvm_test_valgrind.txt (3.1 KB)