[Lldb-commits] [lldb] [lldb][PlatformDarwin][NFCI] Factor out dSYM script auto-loading into helper function (PR #182002)

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 18 04:07:41 PST 2026


================
@@ -199,6 +199,99 @@ PlatformDarwin::PutFile(const lldb_private::FileSpec &source,
   return PlatformPOSIX::PutFile(source, destination, uid, gid);
 }
 
+static FileSpecList LoadExecutableScriptingResourceFromDSYM(
+    Stream &feedback_stream, FileSpec module_spec, const Target &target,
----------------
felipepiovezan wrote:

> In the process we eliminate some redundant copying of
`FileSpec` and pass it to the helper by `const-ref`

What about `module_spec`?

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


More information about the lldb-commits mailing list