[compiler-rt] r336977 - Remove `tsan/Darwin/gcd-after-null.mm` test.
Dan Liew via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 13 00:37:01 PDT 2018
Author: delcypher
Date: Fri Jul 13 00:37:01 2018
New Revision: 336977
URL: http://llvm.org/viewvc/llvm-project?rev=336977&view=rev
Log:
Remove `tsan/Darwin/gcd-after-null.mm` test.
Summary:
This test invokes undocumented behaviour that could change in
the future. Given this, it's probably best to just remove the
test.
rdar://problem/42022283
Reviewers: kubamracek
Subscribers: llvm-commits, #sanitizers
Differential Revision: https://reviews.llvm.org/D49269
Removed:
compiler-rt/trunk/test/tsan/Darwin/gcd-after-null.mm
Removed: compiler-rt/trunk/test/tsan/Darwin/gcd-after-null.mm
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/Darwin/gcd-after-null.mm?rev=336976&view=auto
==============================================================================
--- compiler-rt/trunk/test/tsan/Darwin/gcd-after-null.mm (original)
+++ compiler-rt/trunk/test/tsan/Darwin/gcd-after-null.mm (removed)
@@ -1,23 +0,0 @@
-// Regression test to make sure we don't crash when dispatch_after is called with a NULL queue.
-
-// RUN: %clang_tsan %s -o %t -framework Foundation
-// RUN: %run %t 2>&1 | FileCheck %s
-
-#import <Foundation/Foundation.h>
-
-int main(int argc, const char *argv[]) {
- fprintf(stderr, "start\n");
-
- dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(10 * NSEC_PER_MSEC)), NULL, ^{
- dispatch_async(dispatch_get_main_queue(), ^{
- CFRunLoopStop(CFRunLoopGetMain());
- });
- });
- CFRunLoopRun();
-
- fprintf(stderr, "done\n");
- return 0;
-}
-
-// CHECK: start
-// CHECK: done
More information about the llvm-commits
mailing list