[Lldb-commits] [lldb] Add locate time and all symbol file path for each module in statistics (PR #134563)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 9 15:18:24 PDT 2025
================
@@ -111,7 +111,7 @@ struct ModuleStats {
std::string uuid;
std::string triple;
// Path separate debug info file, or empty if none.
- std::string symfile_path;
+ std::vector<std::string> symfile_path;
----------------
clayborg wrote:
This shouldn't be a vector. The `lldb_private::Module` will have a `lldb_private::ObjectFile`. The module always have a `lldb_private::SymbolFile` and that symbol file might use a different `lldb_private::ObjectFile`, or it might use the same `lldb_private::ObjectFile` as the `lldb_private::Module`. So the stats are ok here, no need for a list.
I presume we are not trying to list the .dwo files here, it will just be the main executable and the separate debug info file.
https://github.com/llvm/llvm-project/pull/134563
More information about the lldb-commits
mailing list