llvm-project/compiler-rt/include
Snehasish Kumar 0a4184909a Reland "[memprof] Extend the index prof format to include memory profiles."
This patch adds support for optional memory profile information to be
included with and indexed profile. The indexed profile header adds a new
field which points to the offset of the memory profile section (if
present) in the indexed profile. For users who do not utilize this
feature the only overhead is a 64-bit offset in the header.

The memory profile section contains (1) profile metadata describing the
information recorded for each entry (2) an on-disk hashtable containing
the profile records indexed via llvm::md5(function_name). We chose to
introduce a separate hash table instead of the existing one since the
indexing for the instrumented fdo hash table is based on a CFG hash
which itself is perturbed by memprof instrumentation.

This commit also includes the changes reviewed separately in D120093.

Differential Revision: https://reviews.llvm.org/D120103
2022-02-17 22:09:52 -08:00
..
fuzzer Fix typo: `char` should be `TS` 2021-03-18 11:00:07 -07:00
profile Reland "[memprof] Extend the index prof format to include memory profiles." 2022-02-17 22:09:52 -08:00
sanitizer [sanitizer_common][test] Enable tests on SPARC 2022-02-01 22:33:56 +01:00
xray Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt [memprof] Extend llvm-profdata to display MemProf profile summaries. 2021-11-30 10:45:26 -08:00