[compiler-rt] b0567be - [ASan] Mark test as UNSUPPORTED for iOS simulator

Julian Lettner via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 18 08:05:43 PST 2019


Author: Julian Lettner
Date: 2019-11-18T08:00:46-08:00
New Revision: b0567be2b48a8f55e8fe747bd21f24745f9bf9c9

URL: https://github.com/llvm/llvm-project/commit/b0567be2b48a8f55e8fe747bd21f24745f9bf9c9
DIFF: https://github.com/llvm/llvm-project/commit/b0567be2b48a8f55e8fe747bd21f24745f9bf9c9.diff

LOG: [ASan] Mark test as UNSUPPORTED for iOS simulator

coverage-fork.cpp uses `fork()` which requires additional permissions
in the iOS simulator sandbox.  We cannot use `sandbox-exec` to grant
these permissions since this is a Posix (not Darwin) test.

Added: 
    

Modified: 
    compiler-rt/test/asan/TestCases/Posix/coverage-fork.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/Posix/coverage-fork.cpp b/compiler-rt/test/asan/TestCases/Posix/coverage-fork.cpp
index 22d2e35842a8..680766a8b288 100644
--- a/compiler-rt/test/asan/TestCases/Posix/coverage-fork.cpp
+++ b/compiler-rt/test/asan/TestCases/Posix/coverage-fork.cpp
@@ -4,6 +4,7 @@
 // RUN: %env_asan_opts=coverage=1:verbosity=1 %run %t 2>&1 | FileCheck %s
 //
 // UNSUPPORTED: android
+// UNSUPPORTED: iossim
 //
 // Ideally a forked-subprocess should only report it's own coverage,
 // not parent's one. But trace-pc-guard currently does nothing special for fork,


        


More information about the llvm-commits mailing list