[test][tsan] Attempt to fix darwing after D147337
This commit is contained in:
@@ -8,17 +8,6 @@
|
||||
|
||||
#include "../test.h"
|
||||
|
||||
extern "C" {
|
||||
void __tsan_on_report(void *report);
|
||||
int __tsan_get_report_loc(void *report, unsigned long idx, const char **type,
|
||||
void **addr, void **start,
|
||||
unsigned long *size, int *tid, int *fd,
|
||||
int *suppressable, void **trace,
|
||||
unsigned long trace_size);
|
||||
int __tsan_get_report_loc_object_type(void *report, unsigned long idx,
|
||||
const char **object_type);
|
||||
}
|
||||
|
||||
void *Thread(void *arg) {
|
||||
barrier_wait(&barrier);
|
||||
*((long *)arg) = 42;
|
||||
|
||||
@@ -9,23 +9,6 @@
|
||||
|
||||
#include "test.h"
|
||||
|
||||
extern "C" {
|
||||
void __tsan_on_report(void *report);
|
||||
void *__tsan_get_current_report();
|
||||
int __tsan_get_report_data(void *report, const char **description, int *count,
|
||||
int *stack_count, int *mop_count, int *loc_count,
|
||||
int *mutex_count, int *thread_count,
|
||||
int *unique_tid_count, void **sleep_trace,
|
||||
unsigned long trace_size);
|
||||
int __tsan_get_report_mop(void *report, unsigned long idx, int *tid,
|
||||
void **addr, int *size, int *write, int *atomic,
|
||||
void **trace, unsigned long trace_size);
|
||||
int __tsan_get_report_thread(void *report, unsigned long idx, int *tid,
|
||||
uint64_t *os_id, int *running,
|
||||
const char **name, int *parent_tid, void **trace,
|
||||
unsigned long trace_size);
|
||||
}
|
||||
|
||||
long my_global;
|
||||
|
||||
void *Thread(void *a) {
|
||||
|
||||
Reference in New Issue
Block a user