From a7df678e90f9515add3a14a351432b6ead337526 Mon Sep 17 00:00:00 2001 From: Julian Lettner Date: Mon, 9 Sep 2019 20:07:03 +0000 Subject: [TSan] Add AnnotateIgnoreReadsBegin declaration to tsan/test.h Declare the family of AnnotateIgnore[Read,Write][Begin,End] TSan annotations in compiler-rt/test/tsan/test.h so that we don't have to declare them separately in every test that needs them. Replace usages. Leave usages that explicitly test the annotation mechanism: thread_end_with_ignore.cpp thread_end_with_ignore3.cpp git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@371446 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tsan/Darwin/mach_vm_allocate.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'test/tsan/Darwin') diff --git a/test/tsan/Darwin/mach_vm_allocate.c b/test/tsan/Darwin/mach_vm_allocate.c index df3cdec71..5b1235201 100644 --- a/test/tsan/Darwin/mach_vm_allocate.c +++ b/test/tsan/Darwin/mach_vm_allocate.c @@ -11,11 +11,6 @@ #include "../test.h" -void AnnotateIgnoreReadsBegin(const char *f, int l); -void AnnotateIgnoreReadsEnd(const char *f, int l); -void AnnotateIgnoreWritesBegin(const char *f, int l); -void AnnotateIgnoreWritesEnd(const char *f, int l); - static int *global_ptr; const mach_vm_size_t alloc_size = sizeof(int); -- cgit v1.2.1