[Lldb-commits] [lldb] [lldb][Platform] Handle LoadScriptFromSymFile per-module FileSpec (PR #189696)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 31 10:48:18 PDT 2026
================
@@ -248,17 +250,19 @@ FileSpecList PlatformDarwin::LocateExecutableScriptingResourcesFromDSYM(
module_spec.SetFilename(filename_no_extension);
}
- return file_list;
+ return file_specs;
}
-FileSpecList PlatformDarwin::LocateExecutableScriptingResourcesForPlatform(
+llvm::SmallDenseMap<FileSpec, LoadScriptFromSymFile>
+PlatformDarwin::LocateExecutableScriptingResourcesForPlatform(
Target *target, Module &module, Stream &feedback_stream) {
+ llvm::SmallDenseMap<FileSpec, LoadScriptFromSymFile> file_specs;
----------------
Michael137 wrote:
`SmallDenseMap` is a bit awkward in that it doesn't let you just return `{}`. So I emptied for the dedicated variable.
https://github.com/llvm/llvm-project/pull/189696
More information about the lldb-commits
mailing list