diff options
author | Scott Lobdell <slobdell@google.com> | 2021-04-25 19:53:00 +0000 |
---|---|---|
committer | Scott Lobdell <slobdell@google.com> | 2021-04-25 19:53:00 +0000 |
commit | dfa7c0a9b59c4ef591f46f7624dfe687c2bb0a6c (patch) | |
tree | 4b78af6f79fb9de2a712ac6268059bf838000a40 /tests/clang_fortify_tests.cpp | |
parent | 987dccb5f063052171fae7a59cbf9fca808f8f80 (diff) | |
parent | 4626df89bfb561fc06d805e04d040a15f378919f (diff) |
Merge SP1A.210425.001
Change-Id: If71c56f3e2e9fbbeffc7096a560a5ef8b8cd8566
Diffstat (limited to 'tests/clang_fortify_tests.cpp')
-rw-r--r-- | tests/clang_fortify_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/clang_fortify_tests.cpp b/tests/clang_fortify_tests.cpp index 035517083..5768f1fb3 100644 --- a/tests/clang_fortify_tests.cpp +++ b/tests/clang_fortify_tests.cpp @@ -94,14 +94,14 @@ #include <wchar.h> #ifndef COMPILATION_TESTS +#include <android-base/silent_death_test.h> #include <gtest/gtest.h> -#include "BionicDeathTest.h" #define CONCAT2(x, y) x##y #define CONCAT(x, y) CONCAT2(x, y) #define FORTIFY_TEST_NAME CONCAT(CONCAT(clang_fortify_test_, _FORTIFY_SOURCE), _DeathTest) -using FORTIFY_TEST_NAME = BionicDeathTest; +using FORTIFY_TEST_NAME = SilentDeathTest; template <typename Fn> __attribute__((noreturn)) static void ExitAfter(Fn&& f) { |