[vm] Make some IgnoreRace functions inlinable.

Fix GCC TSAN build.
Cleanup sanitizer includes.

TEST=ci
Change-Id: Ib68bbfa701b4309c03514ed689391051094208e4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/452226
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
This commit is contained in:
Ryan Macnak
2025-10-01 09:41:26 -07:00
committed by Commit Queue
parent 1f99459069
commit f1ba8ceacf
27 changed files with 60 additions and 77 deletions
+1 -2
View File
@@ -16,8 +16,7 @@ extern "C" void _sanitizer_options_link_helper() {}
// callbacks are not sanitizer-instrumented, and that they aren't stripped by
// the linker.
#define SANITIZER_HOOK_ATTRIBUTE \
extern "C" __attribute__((no_sanitize_address)) \
__attribute__((no_sanitize_memory)) __attribute__((no_sanitize_thread)) \
extern "C" __attribute__((no_sanitize_thread)) \
__attribute__((visibility("default"))) __attribute__((used))
#endif