diff options
| author | Alex Lorenz <arphaman@gmail.com> | 2019-05-09 02:46:20 +0000 |
|---|---|---|
| committer | Alex Lorenz <arphaman@gmail.com> | 2019-05-09 02:46:20 +0000 |
| commit | a438a898b02a93a0179be1dd5ed67fb5b01dcf6b (patch) | |
| tree | 2dbf4bb3840f00f8dc7d520c9d9e28e9a3e831b4 /llvm/utils | |
| parent | 7d402732c21b335d6afa7071ebcc184489095c14 (diff) | |
| download | bcm5719-llvm-a438a898b02a93a0179be1dd5ed67fb5b01dcf6b.tar.gz bcm5719-llvm-a438a898b02a93a0179be1dd5ed67fb5b01dcf6b.zip | |
lit config: disable LSan for Apple clang compiler in addition to Apple LLVM
Apple clang is the canonical way to refer to the compiler shipped with Xcode.
llvm-svn: 360307
Diffstat (limited to 'llvm/utils')
| -rw-r--r-- | llvm/utils/lit/lit/llvm/config.py | 4 |
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 |

