Files
build_soong/cc
Stephen Crane ba090d16c2 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
2017-08-15 12:54:12 -07:00
..
2017-08-15 12:54:12 -07:00
2017-06-30 21:08:36 +00:00
2017-08-15 12:54:12 -07:00
2017-05-09 13:44:49 -07:00
2017-08-14 11:46:42 +09:00
2017-06-30 21:08:36 +00:00
2017-05-10 11:04:16 -07:00
2017-08-15 12:54:12 -07:00
2017-06-30 21:08:36 +00:00
2017-06-30 21:08:36 +00:00
2017-06-30 21:08:36 +00:00
2016-08-01 14:36:22 -07:00
2017-05-10 11:04:16 -07:00
2017-07-20 16:59:26 -07:00
2016-07-29 15:17:58 -07:00
2017-06-30 21:08:36 +00:00