================
@@ -1277,6 +1277,20 @@ void SymbolFileDWARFDebugMap::DumpClangAST(Stream &s,
llvm::StringRef filter) {
});
}
+lldb_private::ModuleSpecList
+SymbolFileDWARFDebugMap::GetSeparateDebugInfoFiles() {
+ const uint32_t cu_count = GetNumCompileUnits();
+ lldb_private::ModuleSpecList spec_list;
+ for (uint32_t cu_idx = 0; cu_idx < cu_count; ++cu_idx) {
+ const auto &info = m_compile_unit_infos[cu_idx];
+ if (info.so_file.GetPath().empty())
+ continue;
+
+ spec_list.Append(lldb_private::FileSpec(info.oso_path));
----------------
clayborg wrote:
The modification time of the .o file should be filled into the
ModuleSpec.m_object_mod_time, the m_file_spec should be the .o file name or the
.a file name, if the m_file_spec is a .a file name then the m_object_name
should be set to the .o file name.
https://github.com/llvm/llvm-project/pull/144119
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits