зеркало из https://github.com/AvaloniaUI/angle.git
infra: Fix UBSAN build.
The compilation of the trace tests would fail in UBSAN with optimization disabled. Fix this by allowing optimization of the large traces when running under UBSAN. Bug: angleproject:5795 Change-Id: Ib11514a00495ed1af4faeecca81283f4c98da135 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3283164 Reviewed-by: Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
This commit is contained in:
Родитель
bc2ca15c35
Коммит
96bce6bde2
|
@ -557,7 +557,7 @@ template("angle_trace") {
|
|||
}
|
||||
|
||||
# Disable optimization in the trace perf tests to avoid optimizing huge files.
|
||||
if (!is_debug) {
|
||||
if (!is_debug && !is_ubsan) {
|
||||
suppressed_configs += [
|
||||
"//build/config/compiler:afdo",
|
||||
"//build/config/compiler:afdo_optimize_size",
|
||||
|
|
Загрузка…
Ссылка в новой задаче