platform_build_soong/cc
Evgenii Stepanov d97a6e9483 Add "hwaddress" sanitizer.
This is a new sanitizer similar to ASan, but with a few differences
from the build system perspective:
* Only runs on AArch64.
* Supports static binaries.
* Bionic itself will be built with HWASan.
* Does not have any "if a library is sanitized than the binary must
  be, too" requirements unlike ASan. Even better, individual static
  libraries can be freely sanitized or not. We propagate "nosanitize"
  from binaries to static libraries anyway, because otherwise there
  is no good way to disable hwasan on a binary as a whole.

Same a CFI, we export a list of sanitized static libraries to make.
In fact, we export separate lists for vendor and regular libraries,
because it is possible for one to be sanitized without the other
(i.e. there can be mylib.hwasan.vendor w/o mylib.hwasan or vice
versa).

Bug: 112438058, 112709969
Test: manual, part of a bigger patch set

Change-Id: Ie4fdeb522ac03cf9684526882e84dfee3807b6a7
2018-08-16 13:18:47 -07:00
..
config Add "hwaddress" sanitizer. 2018-08-16 13:18:47 -07:00
libbuildversion Mark as recovery_available:true 2018-05-24 14:14:08 +09:00
androidmk.go Support prebuilt shared libs end with versions 2018-08-09 10:45:18 +08:00
binary.go Dedup version-script handling code. 2018-08-08 14:36:34 -07:00
builder.go For llndk libraries add -consider-opaque-types-different to header-abi-diff invocation. 2018-06-11 10:51:43 -07:00
cc.go Add "hwaddress" sanitizer. 2018-08-16 13:18:47 -07:00
cc_test.go Don't create non-primary arch variant for recovery-only module 2018-07-12 10:49:30 +09:00
check.go Allow macro definition with space 2017-10-19 22:39:32 +09:00
cmakelists.go Only write CMakeLists.txt for normal variants 2018-06-07 21:34:03 +00:00
compdb.go Add support for generating Compdb file 2018-04-24 08:15:02 -07:00
compiler.go Fix go vet issues 2018-07-22 21:18:45 -07:00
coverage.go Revert "Support coverage instrumentation for Linux host" 2018-04-23 22:44:39 +00:00
gen.go aidl: -ninja -> --ninja 2018-07-06 11:36:32 -07: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 recovery_available to cc_genrule 2018-05-24 14:01:54 +09: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
library.go Dedup version-script handling code. 2018-08-08 14:36:34 -07:00
library_test.go Add cc_library tests 2017-11-17 11:22:04 -08:00
linker.go Add exclude_header_libs for recovery_available:true libs 2018-08-10 09:35:47 -07:00
llndk_library.go Set __ANDROID_API__ for vendor modules to vndk version. 2018-03-28 23:02:41 +00:00
lto.go Add USE_CLANG_LLD and use_clang_lld. 2018-04-12 14:37:35 -07:00
makevars.go Add "hwaddress" sanitizer. 2018-08-16 13:18:47 -07:00
ndk_headers.go Add a preprocessed_ndk_headers module type. 2018-06-01 11:02:38 -07:00
ndk_library.go Stop versioning NDK stubs pre-M. 2018-07-24 22:52:57 +00:00
ndk_prebuilt.go Dedup version-script handling code. 2018-08-08 14:36:34 -07:00
ndk_sysroot.go Add a preprocessed_ndk_headers module type. 2018-06-01 11:02:38 -07:00
object.go Dedup version-script handling code. 2018-08-08 14:36:34 -07:00
pgo.go Take Enable_profile_use into account when checking if PGO is enabled 2018-05-07 15:16:36 -07:00
prebuilt.go Move ModuleContext.ModuleBuild to ModuleContext.Build 2017-10-24 10:59:00 -07:00
proto.go Add a dependency fixer for proto deps 2018-05-07 16:21:59 -07:00
pylintrc
relocation_packer.go Handle pack_relocations in linker.cc 2018-05-29 15:39:47 -07:00
rs.go Mark generated renderscript header files as implicit outputs 2018-03-19 22:44:29 -07:00
sabi.go Update ToolingCFlags overrides to include other new architectures 2018-06-14 18:45:54 -07:00
sanitize.go Add "hwaddress" sanitizer. 2018-08-16 13:18:47 -07:00
stl.go Use Soong modules for the NDK's extra STL libraries 2018-03-29 21:26:06 +00:00
strip.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
test.go Support 'test_config' into soong modules 2018-08-07 15:51:21 -07:00
test_data_test.go Fix go vet issues 2018-07-22 21:18:45 -07:00
test_gen_stub_libs.py
tidy.go Disable dtor inlining for clang-tidy 2018-05-14 16:30:46 -07:00
toolchain_library.go Remove clang: false support 2018-07-23 17:19:36 -07:00
util.go Support prebuilt shared libs end with versions 2018-08-09 10:45:18 +08:00
util_test.go Support prebuilt shared libs end with versions 2018-08-09 10:45:18 +08:00
vendor_public_library.go Allow platform modules to link to vendor public libraries 2018-03-30 12:59:06 +09:00
vndk.go Allow VNDK-SP extensions to use vendor lib 2018-03-30 13:29:34 +08:00
vndk_prebuilt.go Add binder32bit to vndk_prebuilt module 2018-06-08 15:56:40 +09:00