From: uazo Date: Sun, 25 May 2025 12:42:26 +0000 Subject: Permit PGO for debug builds License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html --- build/config/compiler/pgo/pgo.gni | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/config/compiler/pgo/pgo.gni b/build/config/compiler/pgo/pgo.gni --- a/build/config/compiler/pgo/pgo.gni +++ b/build/config/compiler/pgo/pgo.gni @@ -52,5 +52,5 @@ declare_args() { # TODO(crbug.com/409738601): Remove assert once clang no # longer crashes with PGO enabled for a debug build. -assert(!is_debug || chrome_pgo_phase == 0, - "Cannot have a debug build optimized with PGO") +# assert(!is_debug || chrome_pgo_phase == 0, +# "Cannot have a debug build optimized with PGO") --