HomePhabricator

[CMake] Use -O0 for unittests under full LTO as well

Authored by phosek on May 18 2021, 12:59 PM.

Description

[CMake] Use -O0 for unittests under full LTO as well

We already use -O0 for unittests under ThinLTO, do the same for full LTO
where the compile time costs to runtime benefits tradeoff is even worse.

Differential Revision: https://reviews.llvm.org/D102718

Details

Committed
phosekMay 18 2021, 1:41 PM
Differential Revision
D102718: [CMake] Use -O0 for unittests under full LTO as well
Parents
rGac2226b0f573: [PDB] Improve error handling when writes fail
Branches
Unknown
Tags
Unknown