When we don't pass --vg-leak to lit, pass --leak-check=no to valgrind.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99112 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeffrey Yasskin 2010-03-21 01:47:33 +00:00
parent 32f6a8b8bb
commit 982873cdfb

View File

@ -47,6 +47,9 @@ class LitConfig:
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)