Skip to content

Commit 2b09e59

Browse files
benlangmuirtstellar
authored andcommitted
[asan][test] Disable suppressions-alloc-dealloc-mismatch.cpp on Darwin
The suppressions mechanism doesn't work reliably in optimized builds, which turns out to be a known issue (see b87543c / svn r308908). Disable this test, as it is also testing a feature (alloc/dealloc mismatch) that is disabled by default on Darwin anyway. rdar://143830493 (cherry picked from commit 4985804)
1 parent 2d1f7e0 commit 2b09e59

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

compiler-rt/test/asan/TestCases/suppressions-alloc-dealloc-mismatch.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
// FIXME: Upload suppressions to device.
1010
// XFAIL: android
1111

12+
// FIXME: atos does not work for inlined functions, yet llvm-symbolizer
13+
// does not always work with debug info on Darwin.
14+
// UNSUPPORTED: darwin
15+
1216
#include <stdio.h>
1317
#include <stdlib.h>
1418
#include <string.h>

0 commit comments

Comments
 (0)