[compiler-rt][GWP-ASAN] Disable 2 tests on Armv7 Linux

These have been failing on our bots for a while due to
incomplete backtraces. (you don't get the names of the
functions that did the access, just the reporter frames)

See:
https://lab.llvm.org/buildbot/#/builders/170/builds/180
This commit is contained in:
David Spickett 2021-07-19 10:43:21 +00:00
parent 159e072f81
commit 3d5c1a8173
2 changed files with 8 additions and 0 deletions

View File

@ -46,6 +46,11 @@ TEST_F(BacktraceGuardedPoolAllocatorDeathTest, DoubleFree) {
}
TEST_F(BacktraceGuardedPoolAllocatorDeathTest, UseAfterFree) {
#ifdef __linux__ && __ARM_ARCH == 7
// Incomplete backtrace on Armv7 Linux
GTEST_SKIP();
#endif
void *Ptr = AllocateMemory(GPA);
DeallocateMemory(GPA, Ptr);

View File

@ -7,6 +7,9 @@
// RUN: %clang_gwp_asan -fomit-frame-pointer -momit-leaf-frame-pointer %s -g -o %t
// RUN: %expect_crash %t
// Incomplete backtrace on Armv7
// UNSUPPORTED: armhf-linux
#include <stdlib.h>
__attribute__((noinline)) void *allocate_mem() { return malloc(1); }