platform_build_soong/cc/config
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
..
arm64_device.go Pass correct emulation string to gold 2017-08-15 12:54:12 -07:00
arm_device.go Pass correct emulation string to gold 2017-08-15 12:54:12 -07:00
clang.go Black-list for clang LibTooling Cflags. 2017-06-19 19:43:03 -07:00
global.go Add LTO support to soong 2017-08-15 12:54:12 -07:00
integer_overflow_blacklist.txt Add integer_overflow sanitization build option. 2017-07-07 09:52:23 -07:00
mips64_device.go Revert "[mips] Disable compact branch generation" 2017-06-28 11:22:58 +02:00
mips_device.go Revert "[mips] Disable compact branch generation" 2017-06-28 11:22:58 +02:00
tidy.go Allow overriding tidy configs using environment variables 2016-11-02 15:47:20 -07:00
tidy_test.go Add clang-tidy support 2016-10-31 16:21:01 -07:00
toolchain.go Declare dependency on sanitizer runtime libraries 2017-05-08 15:57:05 -07:00
x86_64_device.go Support .asm files for assembly 2016-12-02 21:12:30 -08:00
x86_darwin_host.go Revert "Revert "Ensure environment dependencies are correct"" 2017-05-15 15:22:45 -07:00
x86_device.go Support .asm files for assembly 2016-12-02 21:12:30 -08:00
x86_linux_bionic_host.go Add LinuxBionic toolchain and switch 2017-03-15 14:18:42 -07:00
x86_linux_host.go Add Toolchain.Bionic() 2016-11-17 01:50:43 -08:00
x86_windows_host.go Enable large-address-aware for 32-bit windows 2017-03-14 13:37:26 -07:00