8c8e02df25e6d5b9e25c540d4a778a3b120511fb |
|
23-Feb-2018 |
George Burgess IV <gbiv@chromium.org> |
Add FORTIFY tests for our toolchain These tests are only intended to be used with clang. The runtime portion can probably be made to work with GCC with a bit of effort. I assume these will only ever be used with clang. Hence, no attempt to guard against CXX=g++ has been made. There's quite a few FIXMEs that require FORTIFY changes here. I'll try to chip away at those after this lands. BUG=chromium:810517 TEST=test_that platform_ToolchainTests once on samus for success, and another with a manually injected failure. `cros tryjob --hwtest kevin-release-tryjob kip-release-tryjob` Change-Id: I49913354490e522420d5ccb50fe93c1871cfd9dc Reviewed-on: https://chromium-review.googlesource.com/933733 Commit-Ready: George Burgess <gbiv@chromium.org> Tested-by: George Burgess <gbiv@chromium.org> Reviewed-by: Ting-Yuan Huang <laszio@chromium.org>
/external/autotest/client/site_tests/platform_ToolchainTests/src/clang-fortify-driver.cpp
|