commit | dd0bb03c7baf0b0b964f5cec432dee1f9a633e0b | [log] [tgz] |
---|---|---|
author | David Srbecky <dsrbecky@google.com> | Fri Sep 08 13:59:26 2023 +0100 |
committer | David Srbecky <dsrbecky@google.com> | Fri Sep 08 15:02:44 2023 +0000 |
tree | 4d75b0b680b53f0a4040782dc0e0fa16f67eba58 | |
parent | ebff55e6bc38254f7b9da34c23e93183b53019e6 [diff] |
Use -Og clang option for debug builds (instead of -O2). This is very similar to O1 (many optimizations still enabled), with the explicit goal of making the code somewhat debuggable. For example, this reduces the amount of "optimized away" variables, while having minimal impact on the execution time of tests (<5%). Test: time ./art/test.py -r --host --optimizing --64 Change-Id: Icd155211383520d39c3e82a4e2d4975d9573a36d