[Lldb-commits] [lldb] [LLDB] Expose enumerator for separate-debug-info in SBModule (PR #144119)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 17 10:23:08 PDT 2025


================
@@ -287,6 +287,14 @@ class LLDB_API SBModule {
   ///     A const reference to the file specification object.
   lldb::SBFileSpec GetSymbolFileSpec() const;
 
+  /// Get a list of filespecs associated with all the separate symbol files
+  /// associated with this module.
+  ///
+  /// \return
+  ///     A list of filespecs associated with all the separate symbol files
+  ///     associated with this module.
+  lldb::SBFileSpecList GetSeparateDebugInfoFiles();
----------------
clayborg wrote:

I would prefer a `lldb::SBModuleSpecList` since DWARF in .o files can exist in .a files and `lldb::SBModuleSpec` can fully describe files within files for the .o file in a .a file case.

https://github.com/llvm/llvm-project/pull/144119


More information about the lldb-commits mailing list