llvm-project/llvm/test/tools
Hongtao Yu 1a719089a8 [CSSPGO][llvm-profgen] Always report dangling probes for frames with real samples.
Report dangling probes for frames that have real samples collected. Dangling probes are the probes associated to an empty block. When reported, sample count on a dangling probe will not be trusted by the compiler and we will rely on the counts inference algorithm to get the probe a reasonable count. This actually fixes a bug where previously only those dangling probes with samples collected were reported.

This patch also fixes two existing issues. Pseudo probes are stored in `Address2ProbesMap` and their pointers are used in `PseudoProbeInlineTree`. Previously `std::vector` was used to store probes and the pointers to probes may get obsolete as the vector grows. I'm changing `std::vector` to `std::list` instead.

The other issue is that all outlined functions shared the same inline frame previously due to the unchanged `Index` value as the dummy inlineSite identifier.

Good results seen for SPEC2017 in general regarding profile quality.

Reviewed By: wenlei, wlei

Differential Revision: https://reviews.llvm.org/D100235
2021-04-21 18:07:58 -07:00
..
UpdateTestChecks [Utils] Check for more global information in update_test_checks 2021-03-11 23:31:16 -06:00
dsymutil [dsymutil] Stop emulating dsymutil-classic CIE caching behavior 2021-04-06 20:15:41 -07:00
gold [IRSymTab] Set FB_used on llvm.compiler.used symbols 2021-03-03 16:22:30 -08:00
llc [llc] Add reportError helper and canonicalize error messages 2021-01-26 15:33:37 -08:00
llvm-ar [test] Use host platform specific error message substitution in lit tests - continued 2021-02-03 09:53:22 -05:00
llvm-as Patch by @wecing (Chenguang Wang). 2021-02-19 12:44:17 -08:00
llvm-cfi-verify
llvm-config
llvm-cov Revert "[llvm-cov] reset executation count to 0 after wrapped segment" 2021-03-09 14:47:32 -08:00
llvm-cvtres
llvm-cxxdump [test] Use host platform specific error message substitution in lit tests 2021-01-29 07:16:30 -05:00
llvm-cxxfilt
llvm-cxxmap
llvm-diff
llvm-dlltool
llvm-dwarfdump Fix bug in .eh_frame/.debug_frame PC offset calculation for DW_EH_PE_pcrel 2021-04-15 15:06:20 +04:00
llvm-dwp [llvm-dwp] Join dwo paths correctly when DWOPath is absolute 2021-02-16 13:38:35 -08:00
llvm-elfabi [test] Use host platform specific error message substitution in lit tests 2021-03-05 07:21:53 -05:00
llvm-exegesis [llvm-exegesis] SnippetFile: do create source manager in MCContext 2021-04-04 15:58:39 +03:00
llvm-extract
llvm-gsymutil
llvm-ifs [llvm-ifs] Add option to use InterfaceStub library 2021-03-04 11:28:49 -08:00
llvm-isel-fuzzer [mac/arm] Deflake 3 check-llvm tests 2020-12-12 21:14:45 -05:00
llvm-lib
llvm-libtool-darwin [llvm-libtool] Emit warnings for files without symbols 2021-02-16 17:52:12 -08:00
llvm-link [llvm-link] fix linker behavior when linking archives with --only-needed option 2021-01-05 10:02:51 -08:00
llvm-lipo [test] Use host platform specific error message substitution in lit tests 2021-01-29 07:16:30 -05:00
llvm-lit
llvm-locstats
llvm-lto [PATCH] fix location of test case 2021-03-15 09:34:24 -04:00
llvm-lto2 [test] Use host platform specific error message substitution in lit tests 2021-01-29 07:16:30 -05:00
llvm-mc [test] Use host platform specific error message substitution in lit tests 2021-01-29 07:16:30 -05:00
llvm-mca [AMDGPU] Add TransVALU to gfx10 2021-04-20 15:34:43 +02:00
llvm-ml [ms] [llvm-ml] Accept /WX to signal that warnings should be fatal. 2021-04-02 15:13:20 -04:00
llvm-modextract
llvm-mt
llvm-nm [llvm-symbolizer][llvm-nm] Fix AArch64 and ARM mapping symbols handling. 2021-03-23 14:17:12 +01:00
llvm-objcopy [llvm-objcopy][MachO] Add support for --keep-undefined 2021-03-08 18:57:25 -08:00
llvm-objdump [llvm-objdump] Add an llvm-otool tool 2021-04-20 08:24:58 -04:00
llvm-opt-fuzzer [mac/arm] Deflake 3 check-llvm tests 2020-12-12 21:14:45 -05:00
llvm-opt-report
llvm-original-di-preservation Move (llvm-original-di-preservation) test example output into the Inputs directory (since it's an input to the test execution) 2021-03-11 17:36:33 -08:00
llvm-pdbutil [lld] Fixed CodeView GuidAdapter::format to handle GUID bytes in the right order. 2021-04-09 05:29:14 +04:00
llvm-profdata [llvm-profdata] Make sure to consume Error on the error path of setIsIRLevelProfile 2021-03-30 08:52:58 +02:00
llvm-profgen [CSSPGO][llvm-profgen] Always report dangling probes for frames with real samples. 2021-04-21 18:07:58 -07:00
llvm-ranlib
llvm-rc [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
llvm-readobj [yaml2obj/obj2yaml/llvm-readobj] Support printing and parsing AVR-specific e_flags 2021-04-15 15:54:28 +02:00
llvm-reduce [llvm-reduce] Remove unwanted module inline asm 2021-04-06 09:35:37 -07:00
llvm-size [test] Use host platform specific error message substitution in lit tests 2021-01-29 07:16:30 -05:00
llvm-split
llvm-strings
llvm-symbolizer [llvm-symbolizer][test] Add explicit tests for CODE and DATA 2021-02-16 10:59:25 +00:00
llvm-xray Fix JSON formatting when converting to trace event format 2021-02-10 13:00:28 +11:00
lto Recommit "[LTO] Use lto::backend for code generation." 2021-02-15 10:05:42 +00:00
not
obj2yaml [obj2yaml,yaml2obj] Add NumBlocks to the BBAddrMapEntry yaml field. 2021-02-22 18:08:26 -08:00
opt-viewer
sancov
sanstats
split-file
yaml2obj [test] Use host platform specific error message substitution in lit tests 2021-03-05 07:21:53 -05:00