diff options
| author | Mingming Liu <mingmingl@google.com> | 2024-07-22 11:57:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-22 11:57:36 -0700 |
| commit | a6341718967a708149159e8583549fa15198f902 (patch) | |
| tree | 7670acfe70f93d2a0b0d690da08e8e9a05c6951e /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp | |
| parent | 3b24e5d450c01080610e3cbf79727b454cad0d32 (diff) | |
[InstrPGO][TypeProf]Annotate vtable types when they are present in the profile (#99402)
Before this change, when `file.profdata` have vtable profiles but `--enable-vtable-value-profiling` is not on for optimized build, warnings from this line [1] will show up. They are benign for performance but confusing.
It's better to automatically annotate vtable profiles if `file.profdata` has them. This PR implements it in profile use pass.
* If `-icp-max-num-vtables` is zero (default value is 6), vtable profiles won't be annotated.
[1] https://github.com/llvm/llvm-project/blob/464d321ee8dde1eaf14b5537eaf030e6df513849/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp#L1762-L1768
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
