llvm-project/llvm/test/Instrumentation
Xun Li 11453740bc [ASAN] Properly deal with musttail calls in ASAN
When address sanitizing a function, stack unpinsoning code is inserted before each ret instruction. However if the ret instruciton is preceded by a musttail call, such transformation broke the musttail call contract and generates invalid IR.
This patch fixes the issue by moving the insertion point prior to the musttail call if there is one.

Differential Revision: https://reviews.llvm.org/D87777
2020-09-18 23:10:34 -07:00
..
AddressSanitizer [ASAN] Properly deal with musttail calls in ASAN 2020-09-18 23:10:34 -07:00
BoundsChecking [local-bounds] Ignore volatile operations 2020-05-05 23:08:08 -07:00
DataFlowSanitizer [DFSan] Add efficient fast16labels instrumentation mode. 2020-07-29 18:58:47 +00:00
HWAddressSanitizer [test][HWAsan] Fix kernel-inline.ll under NPM 2020-09-18 10:56:08 -07:00
HeapProfiler [MemProf] Rename HeapProfiler to MemProfiler for consistency 2020-09-14 13:14:57 -07:00
InstrOrderFile Add a module pass for order file instrumentation 2019-02-28 20:13:38 +00:00
InstrProfiling [test][InstrProf] Fix always_inline.ll under NPM 2020-09-18 14:50:47 -07:00
MemorySanitizer [MSAN] Avoid dangling ActualFnStart when replacing instruction 2020-08-14 23:50:38 +00:00
PoisonChecking [PoisonCheker] Support for out of bounds operands on shifts + insert/extractelement 2019-07-09 19:26:12 +00:00
SanitizerCoverage [SanitizerCoverage] Use zeroext for cmp parameters on all targets 2020-08-12 18:38:12 +02:00
ThreadSanitizer [test][TSan] Fix tests under NPM 2020-09-18 11:37:55 -07:00
cgprofile.ll [LPM] Port CGProfilePass from NPM to LPM 2020-07-10 09:04:51 -07:00