platform_build_soong/cc
Yi Kong 7e53c57ed6 Disable inlining and loop unrolling in LTO without PGO profile
Such optimisations may significantly increase the binary size when
compiler heuristics are off. Disabling these helps cut down the
binary sizes with negligible decrease in performance, but allows us to
be more comfortable enabling LTO across various projects.

Test: m
Test: dex2oat, hwui, skia benchmark
Bug: 62839002
Change-Id: Id63e8dd295df2972f76ae4e29ee367080fff8429
2018-02-14 21:21:23 +08:00
..
config Disable a warning that libc++'s headers trip. 2018-02-07 17:24:42 -08:00
androidmk.go Add target_arch to vndk prebuilt module name 2018-01-04 11:02:39 +09:00
binary.go Support filegroups for version_script and related properties 2018-02-06 14:42:06 -08:00
builder.go Fix llvm-ar error caused by using lto and sanitizer together 2018-02-14 21:21:14 +08:00
cc.go Disable inlining and loop unrolling in LTO without PGO profile 2018-02-14 21:21:23 +08:00
cc_test.go Support VNDK extensions 2018-01-23 01:40:54 +00:00
check.go Allow macro definition with space 2017-10-19 22:39:32 +09:00
cmakelists.go Make *Context.Config return a Config instead of a interface{} 2017-11-30 00:44:11 +00:00
compiler.go Store missing profile files into a Make variable 2018-01-29 10:02:27 -08:00
coverage.go Add VisitDirectDepsWithTag 2018-01-02 18:23:43 -08:00
gen.go Switch to build-tools bison 2018-01-08 17:34:47 -08:00
gen_stub_libs.py Ignore 'extern "C++"' section in a version script 2017-11-21 20:31:48 +01:00
gen_test.go Fix using aidl files from filegroups 2017-11-17 11:22:08 -08:00
genrule.go Add cc_genrule 2017-09-18 23:33:25 -07:00
installer.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
kernel_headers.go Fix kernel_headers module registration 2017-07-10 12:30:35 -07:00
library.go Support filegroups for version_script and related properties 2018-02-06 14:42:06 -08:00
library_test.go Add cc_library tests 2017-11-17 11:22:04 -08:00
linker.go Remove no_default_compiler_flags property 2017-11-03 22:28:57 -07:00
llndk_library.go Fix: duplicated definition of llndk_headers module 2017-12-14 21:28:53 +09:00
lto.go Disable inlining and loop unrolling in LTO without PGO profile 2018-02-14 21:21:23 +08:00
makevars.go Store missing profile files into a Make variable 2018-01-29 10:02:27 -08:00
ndk_headers.go Wrap PackageContext and SingletonContext 2017-11-29 05:04:30 +00:00
ndk_library.go Add compile-time pathDeps as implicit dependencies 2017-12-19 15:44:38 -08:00
ndk_prebuilt.go Remove support for stlport. 2018-01-05 10:59:33 -08:00
ndk_sysroot.go Allow NDK static libraries to use the NDK sysroot. 2017-12-14 14:13:56 -08:00
object.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
pgo.go Disable inlining and loop unrolling in LTO without PGO profile 2018-02-14 21:21:23 +08:00
prebuilt.go Move ModuleContext.ModuleBuild to ModuleContext.Build 2017-10-24 10:59:00 -07:00
proto.go When compiling with the lite protobuf option, pass the option to aprotoc to force the lite runtime. 2017-12-15 08:40:27 -08:00
pylintrc Don't warn for TODOish comments. 2016-08-01 14:36:22 -07:00
relocation_packer.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
rs.go Add system_$(VER) 2017-12-01 00:41:59 +00:00
sabi.go Convert Visit*Deps from blueprint.Module to android.Module 2017-10-24 13:01:03 -07:00
sanitize.go Fix llvm-ar error caused by using lto and sanitizer together 2018-02-14 21:21:14 +08:00
stl.go Disable availability macros in libc++ on Darwin. 2018-01-11 13:00:46 -08:00
strip.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
test.go Remove support for gnustl. 2018-01-05 10:59:33 -08:00
test_data_test.go Let tests override environment 2017-10-10 23:28:43 -07:00
test_gen_stub_libs.py Add support for weak symbols in the NDK stubs. 2017-07-28 11:00:22 -07:00
tidy.go Call clang-tidy with -fno-caret-diagnostics by default. 2018-01-04 01:41:16 -08:00
toolchain_library.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
util.go Fix llvm-ar error caused by using lto and sanitizer together 2018-02-14 21:21:14 +08:00
vndk.go Support VNDK extensions 2018-01-23 01:40:54 +00:00
vndk_prebuilt.go Skip installing the VNDK prebuilt if arch does not match 2018-01-24 07:52:47 +09:00