llvm-project/llvm/lib/Transforms/Instrumentation
Kostya Serebryany b7f3a4f4fa [sancov] add tracing for loads and store
add tracing for loads and stores.

The primary goal is to have more options for data-flow-guided fuzzing,
i.e. use data flow insights to perform better mutations or more agressive corpus expansion.
But the feature is general puspose, could be used for other things too.

Pipe the flag though clang and clang driver, same as for the other SanitizerCoverage flags.
While at it, change some plain arrays into std::array.

Tests: clang flags test, LLVM IR test, compiler-rt executable test.

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D113447
2021-11-09 14:35:13 -08:00
..
AddressSanitizer.cpp [ASan] Added stack safety support in address sanitizer. 2021-11-04 17:22:31 -07: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 call graph profile edges with zero weight 2021-10-28 11:32:49 -04:00
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
ControlHeightReduction.cpp [Transforms] Use {DenseSet,SetVector,SmallPtrSet}::contains (NFC) 2021-10-31 07:57:32 -07:00
DataFlowSanitizer.cpp [Transforms] Use make_early_inc_range (NFC) 2021-11-07 17:03:15 -08:00
GCOVProfiling.cpp [llvm] Replace report_fatal_error(std::string) uses with report_fatal_error(Twine) 2021-10-06 12:04:30 +01:00
HWAddressSanitizer.cpp [HWASan] Apply TagMaskByte to every global tag. 2021-11-01 06:31:44 -07: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 [llvm] Replace report_fatal_error(std::string) uses with report_fatal_error(Twine) 2021-10-06 12:04:30 +01:00
Instrumentation.cpp [IR] Rename `comdat noduplicates` to `comdat nodeduplicate` 2021-07-20 12:47:10 -07:00
MaximumSpanningTree.h
MemProfiler.cpp [MemProf] Don't instrument stack accesses unless requested 2021-09-16 12:21:51 -07:00
MemorySanitizer.cpp [msan] Don't use TLS slots of noundef args 2021-10-21 18:35:12 -07: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
SanitizerCoverage.cpp [sancov] add tracing for loads and store 2021-11-09 14:35:13 -08:00
ThreadSanitizer.cpp [NewPM] Use a separate struct for ModuleThreadSanitizerPass 2021-09-16 14:58:42 +02:00
ValueProfileCollector.cpp
ValueProfileCollector.h
ValueProfilePlugins.inc [llvm] Use isa instead of dyn_cast (NFC) 2021-01-29 23:23:37 -08:00