platform_build_soong/cc
Yi Kong 71198ac516 Turn on Unique Internal Names for AFDO
AutoFDO uses a function’s symbol name to look up profile data but
functions with internal linkages do not have globally unique
identifiers. This can lead to name conflicts leading to missing profiles
and performance. We are enabling compiler option
-funique-internal-linkage-names for AFDO builds that will uniquefy
internal linkage symbols making this problem go away.

This CL might regress the performance due to mismatched profiles. It
will recover once we update the profiles.

Test: presubmit
Bug: 218448389
Change-Id: I92a2b6f72b52faab79aec9148f1962111bad7232
2022-02-10 08:09:38 +00:00
..
config Merge "Switch to clang-r445002" 2022-02-09 18:55:08 +00:00
libbuildversion Add vendor_available: true to libbuildverison 2021-12-06 22:08:40 -08:00
ndk_api_coverage_parser Apply pylint to build/soong/cc/ndk_api_coverage_parser 2021-08-18 17:17:47 +00:00
ndkstubgen Add test for empty stub generation. 2021-06-28 15:50:55 -07:00
symbolfile Revert "Revert "Apply pylint to cc/symbolfile"" 2021-08-19 19:31:54 +00:00
afdo.go Turn on Unique Internal Names for AFDO 2022-02-10 08:09:38 +00:00
afdo_test.go Add tests for afdo.go 2022-01-26 17:46:33 +08:00
Android.bp Add tests for afdo.go 2022-01-26 17:46:33 +08:00
androidmk.go Merge "Delete toolchain_library" 2022-01-24 21:45:36 +00:00
api_level.go Remove nativeApiLevelFromUserWithDefault 2021-04-15 14:00:00 +09:00
binary.go add target_compatible_with stanza for host targets 2022-02-03 19:25:12 +00:00
binary_sdk_member.go Refactor SdkMemberType.AddDependencies() 2021-08-31 17:07:07 +01:00
bp2build.go Escape cc ldflags in bp2build conversion 2022-02-04 15:43:08 -05:00
builder.go Merge "[NFCI] Change llvm-ar '-format' to be '--format'." 2022-01-26 00:53:36 +00:00
cc.go Merge changes I11693286,I8d79a434 2022-02-08 01:03:41 +00:00
cc_test.go Add -std user flags to cc test to ensure order 2021-12-16 11:38:50 -05:00
ccdeps.go Dump deps for native and java to json files. 2021-11-05 12:06:15 +08:00
cflag_artifacts.go
check.go
cmakelists.go [cc] Switch to -fsanitize-ignorelist 2021-08-27 15:12:56 -07:00
compdb.go
compiler.go Generate tidy-* rules unless tidy is disabled 2022-01-12 16:48:40 -08:00
compiler_test.go Conditionally apply rustdoc flags to third party crates 2021-08-02 11:50:34 -07:00
coverage.go [cc/coverage] Override/disable -Wframe-larger-than 2022-01-27 10:47:55 -08:00
fuzz.go Use one mutator for all bp2build conversion. 2021-12-14 09:37:45 -05:00
gen.go remove support for *.mc files 2021-10-26 11:38:37 -07:00
gen_test.go Automatically call TestingBuildParams.RelativeToTop() 2021-03-30 19:35:35 +01:00
genrule.go Add environment variables to cc_genrule commands 2021-09-27 15:56:23 -07:00
genrule_test.go Add environment variables to cc_genrule commands 2021-09-27 15:56:23 -07:00
image.go Separate snapshot definition 2021-07-19 11:42:32 +09:00
image_sdk_traits.go Add ramdisk image sdk trait to cc_library_headers 2021-09-25 10:17:31 +01:00
installer.go Allow for the installation of binaries in xbin 2021-10-19 19:44:13 +00:00
kernel_headers.go
library.go Merge "Support bssl hash injection for libcrypto." 2022-02-08 16:59:34 +00:00
library_headers.go Revert "Revert "bp2build: convert host & prebuilt header libraries"" 2022-01-11 16:02:50 +00:00
library_headers_test.go Fix prebuilt header files to produce proper AndroidMk entries. 2021-12-02 10:54:45 +00:00
library_sdk_member.go Add ramdisk image sdk trait to cc_library_headers 2021-09-25 10:17:31 +01:00
library_test.go Propagate headers from bazel to mixed builds 2021-12-07 10:25:11 -05:00
linkable.go Propagate headers from bazel to mixed builds 2021-12-07 10:25:11 -05:00
linker.go Delete toolchain_library 2022-01-14 12:52:59 -05:00
llndk_library.go Remove obsolete llndk_library 2021-04-26 18:41:00 -07:00
lto.go Revert "Do not build tests with ThinLTO" 2021-10-29 17:53:27 +00:00
makevars.go Add noOverrideExternalGlobalCflags support to Soong 2021-12-15 03:14:26 -08:00
native_bridge_sdk_trait.go Add support for native bridge trait 2021-09-23 11:37:57 +01:00
ndk_abi.go Disable ABI dumps on Darwin. 2021-06-07 13:22:30 -07:00
ndk_headers.go Remove draft API support. 2021-04-13 15:55:47 -07:00
ndk_library.go Export stub library compiler flags to soong_injection. 2022-01-21 01:43:13 +00:00
ndk_prebuilt.go Only store what's used in SharedLibraryInfo 2021-06-08 16:44:23 -04:00
ndk_sysroot.go object files depend only on NDK headers 2021-12-05 18:10:13 -08:00
object.go Handle the 'enabled' property in bp2build 2021-12-21 16:37:32 -05:00
object_test.go crt objects for APEX and vendor variants have correct target API levels 2021-08-25 16:26:47 +09:00
OWNERS [cc] Add per-file OWNERS for cc/coverage.go 2022-01-27 10:49:13 -08:00
pgo.go Sampling PGO deprecation 2022-01-26 02:34:34 +08:00
prebuilt.go libclang_rt_prebuilt_library_shared mixed builds 2022-01-20 12:03:18 -05:00
prebuilt_test.go libclang_rt_prebuilt_library_shared mixed builds 2022-01-20 12:03:18 -05:00
proto.go bp2build: support full/lite protos in cc libs 2021-12-02 11:00:46 -05:00
proto_test.go Replace android.BuildOs with Config.BuildOS 2021-07-20 12:46:48 -07:00
pylintrc
rs.go remove target from every intermediate depFile 2021-07-30 09:47:07 -07:00
sabi.go Remove Fuchsia support from Soong 2021-07-21 20:37:46 -07:00
sanitize.go Use -fno-sanitize-link-runtime for bionic sanitizers 2022-02-08 01:35:23 +00:00
sanitize_test.go Update memtag code behavior to match comment. 2021-07-08 11:19:15 -04:00
sdk.go Separate snapshot definition 2021-07-19 11:42:32 +09:00
sdk_test.go Automatically call TestingBuildParams.RelativeToTop() 2021-03-30 19:35:35 +01:00
snapshot_prebuilt.go Don't install static snapshot to device 2022-01-21 18:49:07 +09:00
snapshot_utils.go Support for rust recovery snapshot. 2021-11-09 08:40:50 -08:00
stl.go Remove Fuchsia support from Soong 2021-07-21 20:37:46 -07:00
strip.go bp2build: support strip properties. 2021-06-10 05:22:50 +00:00
stub_library.go Export SOONG_CC_API_XML to Make outside androidmk 2021-09-30 13:11:48 -07:00
sysprop.go
test.go Use one mutator for all bp2build conversion. 2021-12-14 09:37:45 -05:00
test_data_test.go Do not modules in files called "Blueprints". 2021-09-02 11:46:24 +02:00
testing.go Delete toolchain_library 2022-01-14 12:52:59 -05:00
tidy.go Use only single dash for tidy flags 2022-02-04 20:34:27 -08:00
util.go Generate tidy-* rules unless tidy is disabled 2022-01-12 16:48:40 -08:00
vendor_public_library.go Remove global state from vendor public libraries 2021-04-27 16:26:00 -07:00
vendor_public_library_test.go Export cc vendor functions for usage by rust. 2021-06-03 08:31:55 -04:00
vendor_snapshot.go Add module based host-tools snapshot 2021-09-13 21:29:14 +00:00
vendor_snapshot_test.go Delete toolchain_library 2022-01-14 12:52:59 -05:00
vndk.go Mark vndkLibrariesTxt modules as device modules 2021-11-12 09:12:22 -08:00
vndk_prebuilt.go rust: Emit toc files for cdylibs 2021-11-03 15:34:50 -04:00