diff options
author | jeffreytan81 <jeffreytan@meta.com> | 2024-11-17 20:36:54 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-17 20:36:54 -0800 |
commit | 24feaab8380c69d5fa3eb8c21ef2d660913fd4a9 (patch) | |
tree | fc9cb232cb4670c14418dc2beb4131b42fb2ec0f /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | d9eda6b2f3843cf63fa36e7d5d670ca225cbcbd7 (diff) | |
download | llvm-24feaab8380c69d5fa3eb8c21ef2d660913fd4a9.zip llvm-24feaab8380c69d5fa3eb8c21ef2d660913fd4a9.tar.gz llvm-24feaab8380c69d5fa3eb8c21ef2d660913fd4a9.tar.bz2 |
Fix statistics dump to report per-target (#113723)
"statistics dump" currently report the statistics of all targets in
debugger instead of current target. This is wrong because there is a
"statistics dump --all-targets" option that supposed to include
everything.
This PR fixes the issue by only report statistics for current target
instead of all. It also includes the change to reset statistics debug
info/symbol table parsing/indexing time during debugger destroy. This is
required so that we report current statistics if we plan to reuse
lldb/lldb-dap across debug sessions
---------
Co-authored-by: jeffreytan81 <jeffreytan@fb.com>
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions