| 1 | # Suppressions for ThreadSanitizer (tsan). |
| 2 | # |
| 3 | # This file is used by setting the environment variable TSAN_OPTIONS to, e.g., |
| 4 | # "suppressions=$(pwd)/.tsan-suppressions". Observe that relative paths such as |
| 5 | # ".tsan-suppressions" might not work. |
| 6 | |
| 7 | # A static variable is written to racily, but we always write the same value, so |
| 8 | # in practice it (hopefully!) doesn't matter. |
| 9 | race:^want_color$ |
| 10 | |
| 11 | # A boolean value, which tells whether the replace_map has been initialized or |
| 12 | # not, is read racily with an update. As this variable is written to only once, |
| 13 | # and it's OK if the value change right after reading it, this shouldn't be a |
| 14 | # problem. |
| 15 | race:^lookup_replace_object$ |