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:
Jamie Madill 2021-11-15 14:12:32 -05:00 коммит произвёл Angle LUCI CQ
Родитель bc2ca15c35
Коммит 96bce6bde2
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -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",