[PATCH] [ASan] Fix leak tests on 64-bit targets other than x86-64

Sergey Matveev earthdok at google.com
Fri Nov 14 09:12:11 PST 2014


================
Comment at: test/asan/lit.cfg:126
@@ -127,1 +125,3 @@
+# Turn on leak detection on x86_64 Linux.
+if config.host_os == 'Linux' and config.host_arch == 'x86_64':
   config.environment['ASAN_OPTIONS'] = 'detect_leaks=1'
----------------
Sorry, I thought Alexey had taken over this review.

Is there any way we could get rid of the code duplication between test/asan/lit.cfg and test/asan/Unit/lit.site.cfg.in?

http://reviews.llvm.org/D6189






More information about the llvm-commits mailing list