[all-commits] [llvm/llvm-project] 39e7ef: [lldb] Respect LaunchInfo::SetExecutable in Proces...

Pavel Labath via All-commits all-commits at lists.llvm.org
Thu Mar 27 04:45:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39e7efe1e4304544289d8d1b45f4d04d11b4a791
      https://github.com/llvm/llvm-project/commit/39e7efe1e4304544289d8d1b45f4d04d11b4a791
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2025-03-27 (Thu, 27 Mar 2025)

  Changed paths:
    M lldb/source/Host/posix/ProcessLauncherPosixFork.cpp
    M lldb/unittests/Host/HostTest.cpp

  Log Message:
  -----------
  [lldb] Respect LaunchInfo::SetExecutable in ProcessLauncherPosixFork (#133093)

Using argv[0] for this was incorrect. I'm ignoring LaunchInfo::SetArg0,
as that's what darwin and windows launchers do (they use the first
element of the args vector instead).

I picked up the funny unit test re-exec method from the llvm unit tests.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list