summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.cc
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2023-09-08 13:59:26 +0100
committer David Srbecky <dsrbecky@google.com> 2023-09-08 15:02:44 +0000
commitdd0bb03c7baf0b0b964f5cec432dee1f9a633e0b (patch)
tree4d75b0b680b53f0a4040782dc0e0fa16f67eba58 /compiler/optimizing/code_generator.cc
parentebff55e6bc38254f7b9da34c23e93183b53019e6 (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
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions