summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/utils/lit/lit/llvm/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/lit/lit/llvm/config.py b/llvm/utils/lit/lit/llvm/config.py
index c335f2d04ee..8969a3d3405 100644
--- a/llvm/utils/lit/lit/llvm/config.py
+++ b/llvm/utils/lit/lit/llvm/config.py
@@ -233,8 +233,8 @@ class LLVMConfig(object):
major_version_number = int(version_regex.group(1))
minor_version_number = int(version_regex.group(2))
patch_version_number = int(version_regex.group(3))
- if 'Apple LLVM' in version_string:
- # Apple LLVM doesn't yet support LSan
+ if ('Apple LLVM' in version_string) or ('Apple clang' in version_string):
+ # Apple clang doesn't yet support LSan
return False
else:
return major_version_number >= 5
OpenPOWER on IntegriCloud