mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1769180 - Reject --disable-new-pass-manager with clang >= 15. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D147125
This commit is contained in:
parent
bc89e96a24
commit
655bd32dbd
@ -49,6 +49,8 @@ def pass_manager(enabled, compiler, host, target, pgo, enable_fuzzing, ubsan):
|
||||
return namespace(flags=["-Xclang", "-flegacy-pass-manager"], enabled=False)
|
||||
|
||||
if not enabled:
|
||||
if compiler.version >= "15.0.0":
|
||||
die("--disable-new-pass-manager is only supported with clang < 15")
|
||||
return None
|
||||
if compiler.version < "9.0.0":
|
||||
if enabled.origin != "default":
|
||||
|
Loading…
Reference in New Issue
Block a user