yuvald-sweet-security wrote:

> Not exactly. I my use case, `lldb-server` would be a symlink to something 
> like `/cas/dead/beef/baadf00d`. The symlink value is supposed to be an 
> implementation detail of the CAS system. While the user could execute that 
> directly, it wouldn't be totally surprising that it does not work.

Then maybe we should just execute the path given by `GetProgramFileSpec` but 
pass our argv[0] into execve's argv[0] (I don't know if the current process 
execution abstraction allows that)

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

Reply via email to