forked from OSchip/llvm-project
[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:
parent
159e072f81
commit
3d5c1a8173
|
@ -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);
|
||||
|
||||
|
|
|
@ -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); }
|
||||
|
|
Loading…
Reference in New Issue