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

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 18 04:13:45 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,
----------------
Michael137 wrote:

There's a loop inside `LoadExecutableScriptingResourceFromDSYM` that modifies the spec. So we have to copy it at some point. I chose to do it via pass-by-value

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


More information about the lldb-commits mailing list