platform_build_soong/cc
Vishwath Mohan f3918d37fb Blacklist code for CFI.
Adds the -fsanitize-blacklist option for CFI, using the built in
blacklist at external/compiler-rt/lib/cfi/cfi_blacklist.txt.

Also refactors the CFI cflags and ldflags into cc/makevars.go to
ensure they're consistent across Soong and make projects.

Bug: 30227045
Test: ENABLE_CFI=true m -j40 builds and boots.
Test: The blacklist prevents runtime errors that otherwise occur.
Change-Id: I91c5420478e7290061d89338a86abdef69c67fe2
2017-02-15 12:46:52 -08:00
..
config Add RenderScript toolchain information to soong. 2017-02-07 12:15:45 -08:00
androidmk.go Added phony module type for soong. 2017-02-06 22:23:19 -08:00
binary.go Allow clang builds to disable -pie 2017-01-30 22:51:59 -08:00
builder.go Fix mac build 2016-12-06 02:52:43 +00:00
cc.go Add support for CMakefile generation 2017-02-07 09:43:02 -08:00
cc_test.go Add support for building on Darwin hosts 2015-05-07 14:09:48 -07:00
check.go Add clang-tidy support 2016-10-31 16:21:01 -07:00
cmakelists.go Fix CMakeList generator CFlag bug 2017-02-07 09:43:02 -08:00
compiler.go Add support for CMakefile generation 2017-02-07 09:43:02 -08:00
gen.go Support aidl cpp generation 2016-12-05 15:49:40 -08:00
gen_stub_libs.py Support versioned=%d at the section level. 2017-01-03 14:27:41 -08:00
installer.go Install symlinks with same suffix and extension as installed file 2016-12-07 17:35:37 -08:00
library.go Pass DepsContext to dependency methods 2016-12-13 17:32:29 -08:00
linker.go Support explicit header-only libraries 2016-12-13 15:03:42 -08:00
makevars.go Blacklist code for CFI. 2017-02-15 12:46:52 -08:00
ndk_headers.go Add a "license" property to ndk_headers. 2016-10-20 13:30:07 -07:00
ndk_library.go Allow unversioned_until: "current". 2017-01-05 15:49:09 -08:00
ndk_prebuilt.go Pass DepsContext to dependency methods 2016-12-13 17:32:29 -08:00
ndk_sysroot.go Add a "license" property to ndk_headers. 2016-10-20 13:30:07 -07:00
object.go Pass DepsContext to dependency methods 2016-12-13 17:32:29 -08:00
prebuilt.go Remove boolean arguments from NewLibrary() 2016-12-13 14:50:51 -08:00
proto.go Add subdir to GenPath 2016-11-02 21:19:11 -07:00
pylintrc Don't warn for TODOish comments. 2016-08-01 14:36:22 -07:00
relocation_packer.go Add Relocation Packer support 2016-09-15 03:39:05 +00:00
sanitize.go Blacklist code for CFI. 2017-02-15 12:46:52 -08:00
stl.go Add libc++ and libc++_static aliases for SDK builds. 2017-01-25 16:47:31 -05:00
strip.go Separate cc.go 2016-07-29 15:17:58 -07:00
test.go Support data properties for test binaries 2017-02-02 16:23:30 -08:00
test_data_test.go Support data properties for test binaries 2017-02-02 16:23:30 -08:00
test_gen_stub_libs.py Support versioned=%d at the section level. 2017-01-03 14:27:41 -08:00
tidy.go Pass DepsContext to dependency methods 2016-12-13 17:32:29 -08:00
toolchain_library.go Pass DepsContext to dependency methods 2016-12-13 17:32:29 -08:00
util.go Support aidl cpp generation 2016-12-05 15:49:40 -08:00