================
@@ -1663,3 +1663,11 @@ DataFileCache *Module::GetIndexCache() {
.GetPath());
return g_data_file_cache;
}
+
+lldb_private::ModuleSpecList Module::GetSeparateDebugInfoFiles() {
+ SymbolFile *symfile = GetSymbolFile(false);
----------------
clayborg wrote:
You probably want to pass in true for `can_create`:
```
SymbolFile *symfile = GetSymbolFile(/*can_create=*/true);
```
Otherwise if the symbol file hasn't been loaded or created yet you will not
create it and you will get nothing back.
https://github.com/llvm/llvm-project/pull/144119
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits