Merge "Remove stack address check in cfi_basic test." into android10-tests-dev
diff --git a/tests/cfi_test.cpp b/tests/cfi_test.cpp
index e155e1a..b4522ec 100644
--- a/tests/cfi_test.cpp
+++ b/tests/cfi_test.cpp
@@ -85,9 +85,6 @@
EXPECT_EQ(get_global_address(), get_last_address());
EXPECT_EQ(c, get_count());
- // CFI check for a stack address. This is always invalid and gets the process killed.
- EXPECT_DEATH(__cfi_slowpath(45, reinterpret_cast<void*>(&c)), "");
-
// CFI check for a heap address. This is always invalid and gets the process killed.
void* p = malloc(4096);
EXPECT_DEATH(__cfi_slowpath(46, p), "");