File tree Expand file tree Collapse file tree 6 files changed +22
-13
lines changed
compiler-rt/test/tsan/Darwin Expand file tree Collapse file tree 6 files changed +22
-13
lines changed Original file line number Diff line number Diff line change 1
- // RUN: %clang_tsan %s -o %t -framework Foundation
1
+ // RUN: %clang_tsan %s -o %t
2
2
// RUN: %run %t 2>&1 | FileCheck %s
3
3
4
- #import < Foundation/Foundation.h>
4
+ #include < dispatch/dispatch.h>
5
+
6
+ #include < stdio.h>
5
7
6
8
long my_global = 0 ;
7
9
Original file line number Diff line number Diff line change 1
- // RUN: %clang_tsan %s -o %t -framework Foundation
1
+ // RUN: %clang_tsan %s -o %t
2
2
// RUN: %deflake %run %t 2>&1 | FileCheck %s
3
3
4
- #import < Foundation/Foundation .h>
4
+ #include < dispatch/dispatch .h>
5
5
6
6
#import " ../test.h"
7
7
Original file line number Diff line number Diff line change 1
- // RUN: %clang_tsan %s -o %t -framework Foundation
1
+ // RUN: %clang_tsan %s -o %t
2
2
// RUN: %run %t 2>&1 | FileCheck %s
3
3
4
- #import < Foundation/Foundation.h>
4
+ #include < dispatch/dispatch.h>
5
+
6
+ #include < stdio.h>
7
+ #include < stdlib.h>
5
8
6
9
dispatch_queue_t queue;
7
10
dispatch_data_t data;
Original file line number Diff line number Diff line change 1
- // RUN: %clang_tsan %s -o %t -framework Foundation
1
+ // RUN: %clang_tsan %s -o %t
2
2
// RUN: %run %t 2>&1 | FileCheck %s
3
3
4
- #import < Foundation/Foundation.h>
4
+ #include < dispatch/dispatch.h>
5
+
6
+ #include < stdio.h>
7
+ #include < stdlib.h>
5
8
6
9
long my_global = 0 ;
7
10
Original file line number Diff line number Diff line change 1
- // RUN: %clang_tsan %s -o %t -framework Foundation
1
+ // RUN: %clang_tsan %s -o %t
2
2
// RUN: %deflake %run %t 2>&1 | FileCheck %s
3
3
4
4
// REQUIRES: disabled
5
5
6
- #import < Foundation/Foundation.h>
7
-
8
6
#import " ../test.h"
9
7
10
8
dispatch_queue_t queue;
Original file line number Diff line number Diff line change 1
- // RUN: %clang_tsan %s -o %t -framework Foundation
1
+ // RUN: %clang_tsan %s -o %t
2
2
// RUN: %run %t 2>&1 | FileCheck %s
3
3
4
- #import < Foundation/Foundation.h>
4
+ #include < dispatch/dispatch.h>
5
+
6
+ #include < stdio.h>
7
+ #include < stdlib.h>
5
8
6
9
dispatch_queue_t queue;
7
10
dispatch_data_t data;
You can’t perform that action at this time.
0 commit comments