diff options
| author | mingmingl <mingmingl@google.com> | 2026-01-07 23:16:45 -0800 |
|---|---|---|
| committer | mingmingl <mingmingl@google.com> | 2026-01-07 23:16:45 -0800 |
| commit | e8642beaaef824dc5df5355b0ec5eb71f868047b (patch) | |
| tree | 612cf3c54c1ade0b6fd1f0f08886ef5e12098a52 | |
| parent | e06f48615c696697abe37c92990b286e59710ad4 (diff) | |
| download | llvm-users/mingmingl-llvm/profil.zip llvm-users/mingmingl-llvm/profil.tar.gz llvm-users/mingmingl-llvm/profil.tar.bz2 | |
| -rw-r--r-- | llvm/docs/MemProf.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/docs/MemProf.rst b/llvm/docs/MemProf.rst index ff5228c4..7b56a7e 100644 --- a/llvm/docs/MemProf.rst +++ b/llvm/docs/MemProf.rst @@ -138,6 +138,8 @@ This feature uses a hybrid approach: 1. **Symbolizable Data:** Data with external or local linkage (tracked by the symbol table) is partitioned based on data access profiles collected via instrumentation (`PR <https://github.com/llvm/llvm-project/pull/142884>`_) or hardware performance counters (e.g., Intel PEBS events such as ``MEM_INST_RETIRED.ALL_LOADS``). 2. **Module-Internal Data:** Data not tracked by the symbol table (e.g., jump tables, constant pools, internal globals) has its hotness inferred from standard PGO code execution profiles. +.. FIXME: Update this with Clang driver option -fpartition-static-data-sections and how it works with -profile-use and lld. + To enable this feature, pass the following flags to the compiler: * ``-memprof-annotate-static-data-type={none, readonly, readwrite}`` |
