summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Stephen Crane <sjc@immunant.com> 2017-05-09 15:44:35 -0700
committer Stephen Crane <sjc@immunant.com> 2017-08-15 12:54:12 -0700
commitba090d16c2c92f4711860f0a56752a917f8daad0 (patch)
tree2dde51f9c78ae2adbe070961b8643d0c035978f0 /java/java_test.go
parentb3c2154f2afc419c8d6bc92c812eff0113e9f692 (diff)
Add LTO support to soong
Enabling the lto property for a module builds that module and all static dependencies with LTO. LTO (link-time optimization) allows the compiler to optimize and generate code for the entire module at link time, rather than per-compilation unit. LTO is required for Clang CFI and other whole-program optimization techniques. LTO also allows cross-compilation unit optimizations that should result in faster and smaller code, at the expense of additional compilation time. Test: make -j12 libc with lto: true for libc Change-Id: Ib8baefedf60e02701d44673a7c473e0845730101
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions