[compiler-rt] r274014 - Adapt the "objc-race.mm" test to use ignore_interceptors_accesses=1. All Obj-C/Darwin tests currently need this to avoid false positives.
Kuba Brecka via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 28 06:56:09 PDT 2016
Author: kuba.brecka
Date: Tue Jun 28 08:56:09 2016
New Revision: 274014
URL: http://llvm.org/viewvc/llvm-project?rev=274014&view=rev
Log:
Adapt the "objc-race.mm" test to use ignore_interceptors_accesses=1. All Obj-C/Darwin tests currently need this to avoid false positives.
Modified:
compiler-rt/trunk/test/tsan/Darwin/objc-simple.mm
Modified: compiler-rt/trunk/test/tsan/Darwin/objc-simple.mm
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/Darwin/objc-simple.mm?rev=274014&r1=274013&r2=274014&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/Darwin/objc-simple.mm (original)
+++ compiler-rt/trunk/test/tsan/Darwin/objc-simple.mm Tue Jun 28 08:56:09 2016
@@ -1,7 +1,7 @@
// Test that a simple Obj-C program runs and exits without any warnings.
// RUN: %clang_tsan %s -o %t -framework Foundation
-// RUN: %run %t 2>&1 | FileCheck %s
+// RUN: %env_tsan_opts=ignore_interceptors_accesses=1 %run %t 2>&1 | FileCheck %s
#import <Foundation/Foundation.h>
More information about the llvm-commits
mailing list