summaryrefslogtreecommitdiff
path: root/rust/coverage.go
diff options
context:
space:
mode:
author Yi Kong <yikong@google.com> 2023-08-07 07:41:39 +0000
committer Yi Kong <yikong@google.com> 2024-07-10 12:33:46 +0000
commit12bebf956782372b96bdf4e0cc6afdbf4c02c934 (patch)
tree69f8679cc1ed48de3a3e7f82256f91fbebab143c /rust/coverage.go
parent9ed8aff5e361782c9b690303336ed8409cea7e22 (diff)
Switch host native tests to -Og
This helps to reduce build artifact size significantly, by 1.33GB for `m cts` in the `out` directory on aosp-main. This should also make them a lot faster to run. Also turns off unused-result warning. This analysis is not run on -O0, leaving behind a ton of code that triggers this warning. Since it is not an important warning for tests anyway, turn it off by default for tests. Right now, -Og is just an alias for -O1 in Clang. If the debuggability is affected due to this change, we can identify and disable the relevant optimization pass in -Og. Change-Id: I84383cbc05a53d89c322ecb3679320f1338542e6 Bug: 294796809 Test: presubmit
Diffstat (limited to 'rust/coverage.go')
0 files changed, 0 insertions, 0 deletions