================
@@ -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,
+ const FileSpec &symfile_spec, ) {
+ FileSpecList file_list;
+ while (module_spec.GetFilename()) {
+ std::string module_basename(module_spec.GetFilename().GetCString());
+ std::string original_module_basename(module_basename);
+
+ bool was_keyword = false;
+
+ // FIXME: for Python, we cannot allow certain characters in
+ // module
+ // filenames we import. Theoretically, different scripting
+ // languages may have different sets of forbidden tokens in
+ // filenames, and that should be dealt with by each
+ // ScriptInterpreter. For now, we just replace dots with
+ // underscores, but if we ever support anything other than
+ // Python we will need to rework this
----------------
Michael137 wrote:
done
https://github.com/llvm/llvm-project/pull/182002
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits