mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Disable detect_leaks in the ASanified build of LLVM when using Apple LLVM. The released Apple LLVM versions don't support LSan.
llvm-svn: 319738
This commit is contained in:
parent
85c1f9fb40
commit
91eccfcbfe
@ -228,7 +228,8 @@ class LLVMConfig(object):
|
|||||||
minor_version_number = int(version_regex.group(2))
|
minor_version_number = int(version_regex.group(2))
|
||||||
patch_version_number = int(version_regex.group(3))
|
patch_version_number = int(version_regex.group(3))
|
||||||
if 'Apple LLVM' in version_string:
|
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:
|
else:
|
||||||
return major_version_number >= 5
|
return major_version_number >= 5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user