llvm-project/llvm/test/Instrumentation
Ellis Hoag 58d9c1aec8 [Try2][InstrProf] Attach debug info to counters
Add the llvm flag `-debug-info-correlate` to attach debug info to instrumentation counters so we can correlate raw profile data to their functions. Raw profiles are dumped as `.proflite` files. The next diff enables `llvm-profdata` to consume `.proflite` and debug info files to produce a normal `.profdata` profile.

Part of the "lightweight instrumentation" work: https://groups.google.com/g/llvm-dev/c/r03Z6JoN7d4

The original diff https://reviews.llvm.org/D114565 was reverted because of the `Instrumentation/InstrProfiling/debug-info-correlate.ll` test, which is fixed in this commit.

Reviewed By: kyulee

Differential Revision: https://reviews.llvm.org/D115693
2021-12-16 14:20:30 -08:00
..
AddressSanitizer Revert "[asan] Add support for disable_sanitizer_instrumentation attribute" 2021-12-10 14:33:38 -08:00
BoundsChecking Revert rest of `IRBuilderBase`'s short-circuiting folds 2021-10-28 02:15:14 +03:00
DataFlowSanitizer [dfsan] Add missing test for the new pass manager with -dfsan-ignore-personality-routine 2021-12-09 18:53:20 -08:00
HWAddressSanitizer Revert "[IR] `IRBuilderBase::CreateAdd()`: short-circuit `x + 0` --> `x`" 2021-10-27 22:21:37 +03:00
HeapProfiler [MemProf] Don't instrument stack accesses unless requested 2021-09-16 12:21:51 -07:00
InstrOrderFile
InstrProfiling [Try2][InstrProf] Attach debug info to counters 2021-12-16 14:20:30 -08:00
MemorySanitizer [msan] Implement -msan-disable-checks. 2021-12-10 10:27:51 +01:00
PoisonChecking
SanitizerCoverage [sancov] add tracing for loads and store 2021-11-09 14:35:13 -08:00
ThreadSanitizer tsan: don't consider debug calls as calls 2021-11-17 14:42:16 +01:00
cgprofile.ll [CGProfile] Don't emit call graph profile edges with zero weight 2021-10-28 11:32:49 -04:00