[llvm] 7704837 - [NFC][msan] Fix misleading comments

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 15:43:11 PST 2023


Author: Vitaly Buka
Date: 2023-11-14T15:42:53-08:00
New Revision: 77048378ffba860283c2df9549754ea2a241237b

URL: https://github.com/llvm/llvm-project/commit/77048378ffba860283c2df9549754ea2a241237b
DIFF: https://github.com/llvm/llvm-project/commit/77048378ffba860283c2df9549754ea2a241237b.diff

LOG: [NFC][msan] Fix misleading comments

These variables are used by other platforms as well.

Added: 
    

Modified: 
    llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
index f43df2f4a138d69..b6e79d52834349b 100644
--- a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
@@ -594,16 +594,13 @@ class MemorySanitizer {
   /// Thread-local origin storage for function return value.
   Value *RetvalOriginTLS;
 
-  /// Thread-local shadow storage for in-register va_arg function
-  /// parameters (x86_64-specific).
+  /// Thread-local shadow storage for in-register va_arg function.
   Value *VAArgTLS;
 
-  /// Thread-local shadow storage for in-register va_arg function
-  /// parameters (x86_64-specific).
+  /// Thread-local shadow storage for in-register va_arg function.
   Value *VAArgOriginTLS;
 
-  /// Thread-local shadow storage for va_arg overflow area
-  /// (x86_64-specific).
+  /// Thread-local shadow storage for va_arg overflow area.
   Value *VAArgOverflowSizeTLS;
 
   /// Are the instrumentation callbacks set up?


        


More information about the llvm-commits mailing list