llvm-project/llvm/lib/Transforms/Instrumentation
Xinliang David Li 810560773e [PGO] Simplify coverage mapping lowering
Coverage mapping data may reference names of functions
that are skipped by FE (e.g, unused inline functions). Since
those functions are skipped, normal instr-prof function lowering
pass won't put those names in the right section, so special 
handling is needed to walk through coverage mapping structure
and recollect the references.

With this patch, only names that are skipped are processed. This
simplifies the lowering code and it no longer needs to make 
assumptions coverage mapping data layout. It should also be 
more efficient.

llvm-svn: 257091
2016-01-07 20:05:49 +00:00
..
AddressSanitizer.cpp [ASAN] Add doFinalization to reset state 2015-12-05 14:42:34 +00:00
BoundsChecking.cpp Instrumentation: Remove ilist iterator implicit conversions, NFC 2015-10-13 17:39:10 +00:00
CFGMST.h [PGO] Resubmit "MST based PGO instrumentation infrastructure" (r254021) 2015-12-09 18:08:16 +00:00
CMakeLists.txt [PGO] Resubmit "MST based PGO instrumentation infrastructure" (r254021) 2015-12-09 18:08:16 +00:00
DataFlowSanitizer.cpp [sanitizer] [dfsan] Unify aarch64 mapping 2015-11-27 12:42:39 +00:00
GCOVProfiling.cpp DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
InstrProfiling.cpp [PGO] Simplify coverage mapping lowering 2016-01-07 20:05:49 +00:00
Instrumentation.cpp [PGO] Resubmit "MST based PGO instrumentation infrastructure" (r254021) 2015-12-09 18:08:16 +00:00
LLVMBuild.txt [PGO] Resubmit "MST based PGO instrumentation infrastructure" (r254021) 2015-12-09 18:08:16 +00:00
Makefile
MaximumSpanningTree.h
MemorySanitizer.cpp [IR] Remove terminatepad 2015-12-14 18:34:23 +00:00
PGOInstrumentation.cpp [PGO] Resubmit "MST based PGO instrumentation infrastructure" (r254021) 2015-12-09 18:08:16 +00:00
SafeStack.cpp [safestack] Add option for non-TLS unsafe stack pointer. 2015-12-22 00:13:11 +00:00
SanitizerCoverage.cpp getParent() ^ 3 == getModule() ; NFCI 2015-12-14 17:24:23 +00:00
ThreadSanitizer.cpp Try to appease VS 2015 warnings from http://reviews.llvm.org/D11890 2015-08-15 19:06:14 +00:00