Commit 339e7e6d authored by Robin Cheng's avatar Robin Cheng Committed by Facebook GitHub Bot

Change folly TSAN guard to only suppress read/write, not sync.

Reviewed By: igorsugak

Differential Revision: D26142316

fbshipit-source-id: 6ee85228e58f5068ee14154d02ad07f731c039ec
parent 0af2ca9e
...@@ -196,7 +196,6 @@ class annotate_ignore_thread_sanitizer_guard { ...@@ -196,7 +196,6 @@ class annotate_ignore_thread_sanitizer_guard {
: file_(file), line_(line) { : file_(file), line_(line) {
annotate_ignore_reads_begin(file_, line_); annotate_ignore_reads_begin(file_, line_);
annotate_ignore_writes_begin(file_, line_); annotate_ignore_writes_begin(file_, line_);
annotate_ignore_sync_begin(file_, line_);
} }
annotate_ignore_thread_sanitizer_guard( annotate_ignore_thread_sanitizer_guard(
...@@ -207,7 +206,6 @@ class annotate_ignore_thread_sanitizer_guard { ...@@ -207,7 +206,6 @@ class annotate_ignore_thread_sanitizer_guard {
~annotate_ignore_thread_sanitizer_guard() { ~annotate_ignore_thread_sanitizer_guard() {
annotate_ignore_reads_end(file_, line_); annotate_ignore_reads_end(file_, line_);
annotate_ignore_writes_end(file_, line_); annotate_ignore_writes_end(file_, line_);
annotate_ignore_sync_end(file_, line_);
} }
private: private:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment