diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-04 17:20:24 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-12 08:15:25 +0000 |
commit | 8fa0776f1f79e91fc9c0b9c1ba11a0a29c05196b (patch) | |
tree | 788d8d7549712682703a0310ca4a0f0860d4802b /chromium/build/config/win/BUILD.gn | |
parent | 606d85f2a5386472314d39923da28c70c60dc8e7 (diff) |
BASELINE: Update Chromium to 98.0.4758.90
Change-Id: Ib7c41539bf8a8e0376bd639f27d68294de90f3c8
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/build/config/win/BUILD.gn')
-rw-r--r-- | chromium/build/config/win/BUILD.gn | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chromium/build/config/win/BUILD.gn b/chromium/build/config/win/BUILD.gn index 59caa7b4257..1e76a54cc4f 100644 --- a/chromium/build/config/win/BUILD.gn +++ b/chromium/build/config/win/BUILD.gn @@ -41,6 +41,11 @@ declare_args() { # and with this switch, clang emits it like this: # foo/bar.cc:12:34: error: something went wrong use_clang_diagnostics_format = false + + # Indicates whether to use /pdbpagesize:8192 to allow PDBs larger than 4 GiB. + # This requires updated debugging and profiling tools which are not widely + # distributed yet which is why it is currently opt-in. + use_large_pdbs = false } # This is included by reference in the //build/config/compiler config that @@ -152,6 +157,12 @@ config("compiler") { ldflags += [ "/lldignoreenv" ] } + if (use_large_pdbs) { + # This allows PDBs up to 8 GiB in size. This requires lld-link.exe or + # link.exe from VS 2022 or later. + ldflags += [ "/pdbpagesize:8192" ] + } + if (!is_debug && !is_component_build) { # Enable standard linker optimizations like GC (/OPT:REF) and ICF in static # release builds. |