================
@@ -94,6 +94,7 @@ struct ForkLaunchInfo {
   bool debug;
   bool disable_aslr;
   std::string wd;
+  std::string executable;
----------------
labath wrote:

They are accessed from the forked process (line 34 in this file), so they need 
to be async-signal safe  (nothing really guarantees std::string is that, but 
it's pretty hard to write a `c_str` implementation that isn't).

https://github.com/llvm/llvm-project/pull/133093
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to