Bug 1692234 - Allow new pass manager with ubsan on clang 10.0.1+ r=firefox-build-system-reviewers,mhentges

The hang in 10.0.0 was fixed in trunk 11 and backported to 10.0.1.

Differential Revision: https://phabricator.services.mozilla.com/D104836
This commit is contained in:
David Major 2021-02-11 17:13:09 +00:00
Родитель 5a7427c7ce
Коммит 1499c8a490
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -57,9 +57,9 @@ def new_pass_manager_flags(enabled, compiler, host, target, pgo, enable_fuzzing,
if enable_fuzzing and compiler.version < "10.0.0": if enable_fuzzing and compiler.version < "10.0.0":
# Clang 9 does not seem to play well with libFuzzer # Clang 9 does not seem to play well with libFuzzer
return None return None
if ubsan and compiler.version >= "10.0.0": if ubsan and compiler.version == "10.0.0":
# Temporary until https://bugs.llvm.org/show_bug.cgi?id=45835 gets a # Clang 10.0.0 hangs with some ubsan-inserted code constructs.
# real fix: clang 10 hangs with some ubsan-inserted code constructs. # This was fixed in 10.0.1 (https://llvm.org/pr45835)
return None return None
if enabled and compiler.version >= "9.0.0": if enabled and compiler.version >= "9.0.0":
if compiler.type == "clang": if compiler.type == "clang":