Skip to content

Commit 3c83aee

Browse files
committed
[test][tsan] Attempt to fix darwing after D147337
1 parent 0aaf634 commit 3c83aee

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

compiler-rt/test/tsan/Darwin/debug_external.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,6 @@
88

99
#include "../test.h"
1010

11-
extern "C" {
12-
void __tsan_on_report(void *report);
13-
int __tsan_get_report_loc(void *report, unsigned long idx, const char **type,
14-
void **addr, void **start,
15-
unsigned long *size, int *tid, int *fd,
16-
int *suppressable, void **trace,
17-
unsigned long trace_size);
18-
int __tsan_get_report_loc_object_type(void *report, unsigned long idx,
19-
const char **object_type);
20-
}
21-
2211
void *Thread(void *arg) {
2312
barrier_wait(&barrier);
2413
*((long *)arg) = 42;

compiler-rt/test/tsan/debugging.cpp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,6 @@
99

1010
#include "test.h"
1111

12-
extern "C" {
13-
void __tsan_on_report(void *report);
14-
void *__tsan_get_current_report();
15-
int __tsan_get_report_data(void *report, const char **description, int *count,
16-
int *stack_count, int *mop_count, int *loc_count,
17-
int *mutex_count, int *thread_count,
18-
int *unique_tid_count, void **sleep_trace,
19-
unsigned long trace_size);
20-
int __tsan_get_report_mop(void *report, unsigned long idx, int *tid,
21-
void **addr, int *size, int *write, int *atomic,
22-
void **trace, unsigned long trace_size);
23-
int __tsan_get_report_thread(void *report, unsigned long idx, int *tid,
24-
uint64_t *os_id, int *running,
25-
const char **name, int *parent_tid, void **trace,
26-
unsigned long trace_size);
27-
}
28-
2912
long my_global;
3013

3114
void *Thread(void *a) {

0 commit comments

Comments
 (0)