llvm-project/llvm/lib/Transforms/Instrumentation
Kirill Stoimenov 832aae738b [asan] Implemented intrinsic for the custom calling convention similar used by HWASan for X86.
The implementation uses the int_asan_check_memaccess intrinsic to instrument the code. The intrinsic is replaced by a call to a function which performs the access check. The generated function names encode the input register name as a number using Reg - X86::NoRegister formula.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D107850
2021-08-25 15:31:46 +00:00
..
AddressSanitizer.cpp [asan] Implemented intrinsic for the custom calling convention similar used by HWASan for X86. 2021-08-25 15:31:46 +00:00
BoundsChecking.cpp BoundsChecking.cpp - tidy implicit header dependencies. NFCI. 2021-06-13 17:08:15 +01:00
CFGMST.h [Transforms/Instrumentation] Use range-based for loops (NFC) 2021-02-05 21:02:08 -08:00
CGProfile.cpp [CGProfile] don't emit cgprofile entry if called function is dllimport 2020-09-23 16:56:54 -07:00
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
ControlHeightReduction.cpp [CHR] Don't run ControlHeightReduction if any BB has address taken 2021-06-12 10:29:53 -07:00
DataFlowSanitizer.cpp [NFC] More get/removeAttribute() cleanup 2021-08-17 21:05:41 -07:00
GCOVProfiling.cpp [GCov] Emit memset instead of stores in __llvm_gcov_reset 2021-08-05 22:40:15 -07:00
HWAddressSanitizer.cpp [hwasan] re-enable stack safety by default. 2021-08-19 21:11:24 +01:00
IndirectCallPromotion.cpp Fix some -Wunused-but-set-variable in -DLLVM_ENABLE_ASSERTIONS=off build 2021-06-04 23:34:43 -07:00
InstrOrderFile.cpp [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
InstrProfiling.cpp [InstrProfiling] Keep profd non-private for non-renamable comdat functions 2021-08-24 20:14:03 -07:00
Instrumentation.cpp [IR] Rename `comdat noduplicates` to `comdat nodeduplicate` 2021-07-20 12:47:10 -07:00
MaximumSpanningTree.h
MemProfiler.cpp MemProfilerPass::run - remove (dead) duplicate return. NFC. 2021-08-20 12:36:28 +01:00
MemorySanitizer.cpp [msan] Add support for disable_sanitizer_instrumentation attribute 2021-08-20 15:11:26 +02:00
PGOInstrumentation.cpp [CSPGO] Fix lost IRPGOFlag in CSPGO instrumentation 2021-08-24 09:41:29 -07:00
PGOMemOPSizeOpt.cpp [NewPM] Don't mark AA analyses as preserved 2021-05-18 13:49:03 -07:00
PoisonChecking.cpp [ValueTracking] Add UndefOrPoison/Poison-only version of relevant functions 2020-09-09 20:00:26 +09:00
SanitizerCoverage.cpp [sanitizer] Place module_ctor/module_dtor in llvm.used 2021-07-21 14:03:26 -07:00
ThreadSanitizer.cpp [tsan] Add support for disable_sanitizer_instrumentation attribute 2021-08-23 12:38:33 +02:00
ValueProfileCollector.cpp
ValueProfileCollector.h
ValueProfilePlugins.inc [llvm] Use isa instead of dyn_cast (NFC) 2021-01-29 23:23:37 -08:00