[compiler-rt] 39c1005 - [NFC][msan] Rename function parameter

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 14:08:42 PDT 2023


Author: Vitaly Buka
Date: 2023-05-08T14:08:27-07:00
New Revision: 39c1005227fd39b528992dc9fb8126302f611c65

URL: https://github.com/llvm/llvm-project/commit/39c1005227fd39b528992dc9fb8126302f611c65
DIFF: https://github.com/llvm/llvm-project/commit/39c1005227fd39b528992dc9fb8126302f611c65.diff

LOG: [NFC][msan] Rename function parameter

Added: 
    

Modified: 
    compiler-rt/lib/msan/msan_interceptors.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/msan/msan_interceptors.cpp b/compiler-rt/lib/msan/msan_interceptors.cpp
index 757dc46739bea..4dbcd064d41eb 100644
--- a/compiler-rt/lib/msan/msan_interceptors.cpp
+++ b/compiler-rt/lib/msan/msan_interceptors.cpp
@@ -1112,9 +1112,9 @@ INTERCEPTOR(int, __libc_thr_keycreate, __sanitizer_pthread_key_t *m,
 ALIAS(WRAPPER_NAME(pthread_key_create));
 #endif
 
-INTERCEPTOR(int, pthread_join, void *th, void **retval) {
+INTERCEPTOR(int, pthread_join, void *thread, void **retval) {
   ENSURE_MSAN_INITED();
-  int res = REAL(pthread_join)(th, retval);
+  int res = REAL(pthread_join)(thread, retval);
   if (!res && retval)
     __msan_unpoison(retval, sizeof(*retval));
   return res;


        


More information about the llvm-commits mailing list