[llvm-commits] [llvm] r99112 - /llvm/trunk/utils/lit/lit/LitConfig.py
Jeffrey Yasskin
jyasskin at google.com
Sat Mar 20 18:47:34 PDT 2010
Author: jyasskin
Date: Sat Mar 20 20:47:33 2010
New Revision: 99112
URL: http://llvm.org/viewvc/llvm-project?rev=99112&view=rev
Log:
When we don't pass --vg-leak to lit, pass --leak-check=no to valgrind.
Modified:
llvm/trunk/utils/lit/lit/LitConfig.py
Modified: llvm/trunk/utils/lit/lit/LitConfig.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/LitConfig.py?rev=99112&r1=99111&r2=99112&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/LitConfig.py (original)
+++ llvm/trunk/utils/lit/lit/LitConfig.py Sat Mar 20 20:47:33 2010
@@ -47,6 +47,9 @@
if self.valgrindLeakCheck:
self.valgrindTriple += "_leak"
self.valgrindArgs.append('--leak-check=full')
+ else:
+ # The default is 'summary'.
+ self.valgrindArgs.append('--leak-check=no')
self.valgrindArgs.extend(self.valgrindUserArgs)
More information about the llvm-commits
mailing list