This patch is needed to implement the function attribute that disable TSan checking at run time. (See https://reviews.llvm.org/D25857, and https://reviews.llvm.org/D25858)
Details
Details
- Reviewers
kcc dvyukov kubamracek - Commits
- rGbe15addffeb1: [tsan] Expose __tsan_ignore_thread_begin and __tsan_ignore_thread_end in TSan…
rCRT286658: [tsan] Expose __tsan_ignore_thread_begin and __tsan_ignore_thread_end in TSan…
rL286658: [tsan] Expose __tsan_ignore_thread_begin and __tsan_ignore_thread_end in TSan…
Diff Detail
Diff Detail
Event Timeline
test/tsan/Darwin/release-dealloc-norace-objcpp.mm | ||
---|---|---|
28 | I don't understand ordering of the patches. |
test/tsan/Darwin/release-dealloc-norace-objcpp.mm | ||
---|---|---|
28 | You are correct. I'll split the patch into 2 before committing. |
Comment Actions
Split out the test file into a separate patch. The test file has been updated to contain more tests and use TSan test barriers. It's submitted for review at https://reviews.llvm.org/D26228.
I don't understand ordering of the patches.
This patch is required for the tsan pass patch.
But this test will only pass if the tsan pass patch is submitted.
I think you need to split this patch into 2 parts: one adds the interface functions, another adds tests. Otherwise tree will be broken at some point.