Skip to content

Commit

Permalink
[NFC][msan] Fix misleading comments
Browse files Browse the repository at this point in the history
These variables are used by other platforms as well.
  • Loading branch information
vitalybuka committed Nov 14, 2023
1 parent 60f740a commit 7704837
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 7704837

Please sign in to comment.