commit | 5b69c06f1f8ba3743cc447bed9521eb4ef186dec | [log] [tgz] |
---|---|---|
author | Vishwath Mohan <vishwath@google.com> | Tue Feb 14 07:55:37 2017 -0800 |
committer | Vishwath Mohan <vishwath@google.com> | Wed Feb 15 12:48:05 2017 -0800 |
tree | a617c3847afad320bb79f9799cde9c6e6b4e530f | |
parent | 22b55e1c54c9844f99b8db64cc45014012105d52 [diff] |
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 ../soong/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: I0c2801ed459a3b9adeb37daff3ca212564801259