commit | 5b07e304088582b9fae76a8f96ca5bfe21d9d99f | [log] [tgz] |
---|---|---|
author | David Major <dmajor@mozilla.com> | Tue Feb 12 22:24:45 2019 +0000 |
committer | David Major <dmajor@mozilla.com> | Tue Feb 12 22:24:45 2019 +0000 |
tree | 8140544f25d9487c2c5f1b47fc4b345b100ddd27 | |
parent | 16a0fba741f44d84807fecdc7c2b50090140225d [diff] |
[gn build] Separate debug and optimization settings This patch adds an `is_optimized` variable, orthogonal to `is_debug`, to allow for a gn analogue to `RelWithDebInfo` builds. As part of this we'll want to explicitly enable GC+ICF, for the sake of `is_debug && is_optimized` builds. The flags normally default to true except that if you pass `/DEBUG` they default to false. Differential Revision: https://reviews.llvm.org/D58075 llvm-svn: 353888