diff options
author | Julian Lettner <jlettner@apple.com> | 2019-09-09 20:07:03 +0000 |
---|---|---|
committer | Julian Lettner <jlettner@apple.com> | 2019-09-09 20:07:03 +0000 |
commit | 6d04ee0f86382a7af9a1063b5d47d146e5c70dda (patch) | |
tree | 3925ce96a323539190f054b24d69482b2ad9931c /compiler-rt/test/tsan/ignored-interceptors-mmap.cpp | |
parent | eae609e306e87cbc821265dfc9c6537813ced84c (diff) | |
download | bcm5719-llvm-6d04ee0f86382a7af9a1063b5d47d146e5c70dda.tar.gz bcm5719-llvm-6d04ee0f86382a7af9a1063b5d47d146e5c70dda.zip |
[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
llvm-svn: 371446
Diffstat (limited to 'compiler-rt/test/tsan/ignored-interceptors-mmap.cpp')
-rw-r--r-- | compiler-rt/test/tsan/ignored-interceptors-mmap.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler-rt/test/tsan/ignored-interceptors-mmap.cpp b/compiler-rt/test/tsan/ignored-interceptors-mmap.cpp index bcfafa40991..c2116130b08 100644 --- a/compiler-rt/test/tsan/ignored-interceptors-mmap.cpp +++ b/compiler-rt/test/tsan/ignored-interceptors-mmap.cpp @@ -10,13 +10,6 @@ #include "test.h" -extern "C" { -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); -} - // Use atomic to ensure we do not have a race for the pointer value itself. We // only want to check races in the mmap'd memory to isolate the test that mmap // respects ignore annotations. |