From 4817ca64bb83ad03328f52e47dd953dcdb2e57e6 Mon Sep 17 00:00:00 2001 From: Florian Mayer Date: Fri, 15 Apr 2022 22:53:51 +0000 Subject: [PATCH] Skip setjmp.bug_152210274 on HWASan. Bug: 227390656 Change-Id: Ic6dc89d844bab4aba93132b3af7942961d3af644 --- tests/setjmp_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/setjmp_test.cpp b/tests/setjmp_test.cpp index ee126eb11..472aa205b 100644 --- a/tests/setjmp_test.cpp +++ b/tests/setjmp_test.cpp @@ -22,6 +22,7 @@ #include #include +#include #include "SignalUtils.h" @@ -273,6 +274,7 @@ TEST(setjmp, setjmp_stack) { } TEST(setjmp, bug_152210274) { + SKIP_WITH_HWASAN; // b/227390656 // Ensure that we never have a mangled value in the stack pointer. #if defined(__BIONIC__) struct sigaction sa = {.sa_flags = SA_SIGINFO, .sa_sigaction = [](int, siginfo_t*, void*) {}};