[tsan] Improve suppression for tzset
When running under TSAN disable inlining of LocalTime helper so we can write a suppression using its name. Fixes https://github.com/dart-lang/sdk/issues/61396 TEST=ci Cq-Include-Trybots: luci.dart.try:vm-tsan-linux-release-x64-try,vm-tsan-linux-release-arm64-try Change-Id: I9f07572b5b597343dbc61554c4f287eac630f047 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/446720 Commit-Queue: Slava Egorov <vegorov@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com>
This commit is contained in:
committed by
Commit Queue
parent
1a7e1134ab
commit
8fbf6030ef
@@ -29,7 +29,7 @@ SANITIZER_HOOK_ATTRIBUTE const char* __tsan_default_suppressions() {
|
||||
# In some environments tzset_internal is not symbolized correctly so we
|
||||
# also suppress the closest caller which is properly symbolized.
|
||||
race:tzset_internal
|
||||
race:dart::DN_HelperDateTime_timeZoneOffsetInSeconds
|
||||
race:dart::LocalTime
|
||||
)";
|
||||
}
|
||||
#endif // defined(USING_THREAD_SANITIZER) && defined(DART_HOST_OS_LINUX)
|
||||
|
||||
Reference in New Issue
Block a user