llvm.org GIT mirror llvm / 71abe18
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360307 91177308-0d34-0410-b5e6-96231b3b80d8 Alex Lorenz 3 months ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
232232 major_version_number = int(version_regex.group(1))
233233 minor_version_number = int(version_regex.group(2))
234234 patch_version_number = int(version_regex.group(3))
235 if 'Apple LLVM' in version_string:
236 # Apple LLVM doesn't yet support LSan
235 if ('Apple LLVM' in version_string) or ('Apple clang' in version_string):
236 # Apple clang doesn't yet support LSan
237237 return False
238238 else:
239239 return major_version_number >= 5