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

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 16 10:51:30 PDT 2025


Jlalond wrote:

> However, FileSpecList already has an AppendIfUnique method. So you could (with less code than the current implementation) have all the new lldb_private API's return what consumers actually want: an FileSpecList, and then that would be trivially convertible to the SBFileSpecList, which is in the end what you wanted to expose.


Good suggestion @jimingham, I also added a constructor to move a FileSpecList into the SBFileSpecList. The code is much cleaner now as you expected.

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


More information about the lldb-commits mailing list