]> granicus.if.org Git - llvm/commitdiff
Disable detect_leaks in the ASanified build of LLVM when using Apple LLVM. The releas...
authorKuba Mracek <mracek@apple.com>
Tue, 5 Dec 2017 05:22:02 +0000 (05:22 +0000)
committerKuba Mracek <mracek@apple.com>
Tue, 5 Dec 2017 05:22:02 +0000 (05:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319738 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/lit/llvm/config.py

index 3c9a2cc559c1e3b1eae95352ea328591fd36ca01..554da93f110befc4acacbedd2dc8fd4b29664e87 100644 (file)
@@ -228,7 +228,8 @@ class LLVMConfig(object):
             minor_version_number = int(version_regex.group(2))
             patch_version_number = int(version_regex.group(3))
             if 'Apple LLVM' in version_string:
-                return major_version_number >= 9 and (minor_version_number > 0 or patch_version_number > 0)
+                # Apple LLVM doesn't yet support LSan
+                return False
             else:
                 return major_version_number >= 5