llvm-project/llvm/test/Instrumentation
Philip Reames de71056a7d [ASAN] Initial support memory checks on scalable vector typed allocas
This patch adjusts the memory instrumentation to account for scalable vector types in allocas. Note that we don't allow scalable vector globals, so we don't need to update that codepath.

A couple points.

First, this simply disables the optimization for scalable allocas. We can revisit this in the future, but it requires a bit of plumbing to get scalable object sizes through the visitor to be useful.

Second, I am simply disabling stack poisoning for scalable vector allocas. This is mostly for staging the change as I can't write a working test for memory instrumentation without doing so. I don't think it's unreasonable to do on it's own basis as without the bailout, we crash the compiler.

Differential Revision: https://reviews.llvm.org/D145259
2023-03-15 07:59:42 -07:00
..
AddressSanitizer [ASAN] Initial support memory checks on scalable vector typed allocas 2023-03-15 07:59:42 -07:00
BoundsChecking
DataFlowSanitizer
HeapProfiler
HWAddressSanitizer
InstrOrderFile
InstrProfiling [PGO] Setting ValueProfNode Array's Alignment 2023-02-23 19:07:29 -05:00
JustMyCode
MemorySanitizer [MSAN] Add (fixed) vector load/store test coverage [nfc] 2023-03-14 11:25:45 -07:00
PoisonChecking
SanitizerBinaryMetadata [SanitizerBinaryMetadata] Make constructors/destructors hidden 2023-02-09 00:46:28 +01:00
SanitizerCoverage
ThreadSanitizer
cgprofile.ll