diff options
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/lib/msan/msan_interceptors.cc b/compiler-rt/lib/msan/msan_interceptors.cc index 00c54f2a5e9..0ed00f658d1 100644 --- a/compiler-rt/lib/msan/msan_interceptors.cc +++ b/compiler-rt/lib/msan/msan_interceptors.cc @@ -836,7 +836,7 @@ static void SignalHandler(int signo) { static void SignalAction(int signo, void *si, void *uc) { __msan_unpoison(si, __sanitizer::struct_sigaction_sz); - __msan_unpoison(uc, __sanitizer::struct_ucontext_sz); + __msan_unpoison(uc, __sanitizer::ucontext_t_sz); typedef void (*sigaction_cb)(int, void *, void *); sigaction_cb cb = (sigaction_cb)sigactions[signo]; diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc index fd39cb2848e..8363ea5d56f 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc @@ -45,9 +45,9 @@ namespace __sanitizer { unsigned struct_tm_sz = sizeof(struct tm); unsigned struct_passwd_sz = sizeof(struct passwd); unsigned struct_sigaction_sz = sizeof(struct sigaction); - unsigned struct_ucontext_sz = sizeof(struct ucontext); unsigned struct_itimerval_sz = sizeof(struct itimerval); unsigned pthread_t_sz = sizeof(pthread_t); + unsigned ucontext_t_sz = sizeof(ucontext_t); #if SANITIZER_LINUX unsigned struct_rlimit_sz = sizeof(struct rlimit); diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h index bdec8e5c21c..6f516c6dfbc 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h @@ -25,9 +25,9 @@ namespace __sanitizer { extern unsigned struct_tm_sz; extern unsigned struct_passwd_sz; extern unsigned struct_sigaction_sz; - extern unsigned struct_ucontext_sz; extern unsigned struct_itimerval_sz; extern unsigned pthread_t_sz; + extern unsigned ucontext_t_sz; #if SANITIZER_LINUX extern unsigned struct_rlimit_sz; |