Skip to content

Commit 0a84f12

Browse files
authored
[rtsan][NFC] Rename _expect_not_realtime function (#109487)
1 parent ce0c41c commit 0a84f12

File tree

3 files changed

+61
-61
lines changed

3 files changed

+61
-61
lines changed

compiler-rt/lib/rtsan/rtsan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ SANITIZER_INTERFACE_ATTRIBUTE void __rtsan_enable() {
7373
}
7474

7575
SANITIZER_INTERFACE_ATTRIBUTE void
76-
__rtsan_expect_not_realtime(const char *intercepted_function_name) {
76+
__rtsan_notify_intercepted_call(const char *intercepted_function_name) {
7777
__rtsan_ensure_initialized();
7878
ExpectNotRealtime(GetContextForThisThread(), intercepted_function_name);
7979
}

compiler-rt/lib/rtsan/rtsan.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ SANITIZER_INTERFACE_ATTRIBUTE void __rtsan_disable();
4343
SANITIZER_INTERFACE_ATTRIBUTE void __rtsan_enable();
4444

4545
SANITIZER_INTERFACE_ATTRIBUTE void
46-
__rtsan_expect_not_realtime(const char *intercepted_function_name);
46+
__rtsan_notify_intercepted_call(const char *intercepted_function_name);
4747

4848
} // extern "C"

0 commit comments

Comments
 (0)