llvm-project/llvm/lib/Transforms/Instrumentation
Calixte Denizet c6fabeac11 [GCOV] Add options to filter files which must be instrumented.
Summary:
When making code coverage, a lot of files (like the ones coming from /usr/include) are removed when post-processing gcno/gcda so finally they doen't need to be instrumented nor to appear in gcno/gcda.
The goal of the patch is to be able to filter the files we want to instrument, there are several advantages to do that:
- improve speed (no overhead due to instrumentation on files we don't care)
- reduce gcno/gcda size
- it gives the possibility to easily instrument only few files (e.g. ones modified in a patch) without changing the build system
- need to accept this patch to be enabled in clang: https://reviews.llvm.org/D52034

Reviewers: marco-c, vsk

Reviewed By: marco-c

Subscribers: llvm-commits, sylvestre.ledru

Differential Revision: https://reviews.llvm.org/D52033

llvm-svn: 346641
2018-11-12 09:01:43 +00:00
..
AddressSanitizer.cpp Revert "[PassManager/Sanitizer] Enable usage of ported AddressSanitizer passes with -fsanitize=address" 2018-10-26 22:51:51 +00:00
BoundsChecking.cpp Fix crash in bounds checking. 2018-08-03 17:12:23 +00:00
CFGMST.h [TI removal] Make variables declared as `TerminatorInst` and initialized 2018-10-15 10:04:59 +00:00
CGProfile.cpp [CGProfile] Turn constant-size SmallVector into array 2018-10-22 10:51:34 +00:00
CMakeLists.txt [PGO] Control Height Reduction 2018-09-04 17:19:13 +00:00
ControlHeightReduction.cpp Move some helpers from the global namespace into anonymous ones. 2018-10-13 22:18:22 +00:00
DataFlowSanitizer.cpp [cxx2a] Fix warning triggered by r343285 2018-09-29 02:17:12 +00:00
EfficiencySanitizer.cpp [TI removal] Remove `TerminatorInst` from BasicBlockUtils.h 2018-10-15 09:34:05 +00:00
GCOVProfiling.cpp [GCOV] Add options to filter files which must be instrumented. 2018-11-12 09:01:43 +00:00
HWAddressSanitizer.cpp [sancov] Put .SCOV* sections into the right comdat groups on COFF 2018-11-08 00:57:33 +00:00
IndirectCallPromotion.cpp [PGO] add target md5sum in warning message for icall 2018-08-24 21:38:24 +00:00
InstrProfiling.cpp [InstrProf] Use atomic profile counter updates for TSan 2018-08-16 22:24:47 +00:00
Instrumentation.cpp [sancov] Put .SCOV* sections into the right comdat groups on COFF 2018-11-08 00:57:33 +00:00
LLVMBuild.txt
MaximumSpanningTree.h Remove unneeded use of #undef DEBUG_TYPE. NFC 2017-07-12 20:49:21 +00:00
MemorySanitizer.cpp [MSan] another take at instrumenting inline assembly - now with calls 2018-10-31 09:32:47 +00:00
PGOInstrumentation.cpp [PGO] Exit early if all count values are zero 2018-11-07 23:51:20 +00:00
PGOMemOPSizeOpt.cpp [PGOMemOPSize] Preserve the DominatorTree 2018-07-09 08:07:21 +00:00
SanitizerCoverage.cpp [sancov] Put .SCOV* sections into the right comdat groups on COFF 2018-11-08 00:57:33 +00:00
ThreadSanitizer.cpp Use SmallPtrSet explicitly for SmallSets with pointer types (NFC). 2018-06-12 11:16:56 +00:00