llvm-project/llvm/test/Instrumentation
Florian Mayer 078b546555 [HWASan] do not replace lifetime intrinsics with tagged address.
Quote from the LLVM Language Reference
  If ptr is a stack-allocated object and it points to the first byte of the
  object, the object is initially marked as dead. ptr is conservatively
  considered as a non-stack-allocated object if the stack coloring algorithm
  that is used in the optimization pipeline cannot conclude that ptr is a
  stack-allocated object.

By replacing the alloca pointer with the tagged address before this change,
we confused the stack coloring algorithm.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D121835
2022-03-18 10:39:51 -07:00
..
AddressSanitizer [ASan] Removed unused AddressSanitizerPass functional pass. 2022-03-01 00:41:29 +00:00
BoundsChecking [SanitizerBounds] Add support for NoSanitizeBounds function 2022-03-01 18:47:02 +01:00
DataFlowSanitizer [DFSan] Remove trampolines to unblock opaque pointers. (Reland with fix) 2022-03-14 16:03:25 -07:00
HWAddressSanitizer [HWASan] do not replace lifetime intrinsics with tagged address. 2022-03-18 10:39:51 -07:00
HeapProfiler [MemProf] Don't instrument stack accesses unless requested 2021-09-16 12:21:51 -07:00
InstrOrderFile
InstrProfiling [InstrProf] Add single byte coverage mode 2022-01-27 17:38:55 -08:00
JustMyCode [JMCInstrument] infer proper path style based on debug info 2022-03-10 10:50:44 -08:00
MemorySanitizer [msan] Copy origin of byval arguments 2022-01-27 16:24:07 -08:00
PoisonChecking
SanitizerCoverage [sancov] Don't instrument calls to bitcast funcs: they're not indirect. 2022-03-07 12:43:37 -08:00
ThreadSanitizer tsan: don't consider debug calls as calls 2021-11-17 14:42:16 +01:00
cgprofile.ll [CGProfile] Don't emit call graph profile edges with zero weight 2021-10-28 11:32:49 -04:00