[compiler-rt] d6525ef - [compiler-rt] Try to disable failing test on Darwin.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 10 03:11:06 PDT 2020


Author: Florian Hahn
Date: 2020-04-10T11:08:49+01:00
New Revision: d6525eff5ebfa0ef1d6cd75cb9b40b1881e7a707

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

LOG: [compiler-rt] Try to disable failing test on Darwin.

Looks like this test fails on Darwin x86_64 as well:

http://green.lab.llvm.org/green/job/clang-stage1-RA/8593/

Command Output (stderr):
--
fatal error: error in backend: Global variable '__sancov_gen_' has an invalid section specifier '__DATA,__sancov_bool_flag': mach-o section specifier requires a section whose length is between 1 and 16 characters.

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_inline_bool_flag.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_inline_bool_flag.cpp b/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_inline_bool_flag.cpp
index da13d83f9cb0..c3783e80f623 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_inline_bool_flag.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_inline_bool_flag.cpp
@@ -1,7 +1,7 @@
 // Tests -fsanitize-coverage=inline-bool-flag,pc-table
 //
 // REQUIRES: has_sancovcc,stable-runtime
-// UNSUPPORTED: i386-darwin
+// UNSUPPORTED: i386-darwin, x86_64-darwin
 //
 // RUN: %clangxx -O0 %s -fsanitize-coverage=inline-bool-flag,pc-table -o %t
 // RUN: %run %t 2>&1 | FileCheck %s


        


More information about the llvm-commits mailing list