[all-commits] [llvm/llvm-project] dc9d4f: [lldb] Respect LaunchInfo::SetExecutable in Proces...
Pavel Labath via All-commits
all-commits at lists.llvm.org
Tue Apr 15 13:12:46 PDT 2025
Branch: refs/heads/release/20.x
Home: https://github.com/llvm/llvm-project
Commit: dc9d4f9a700843e9a7456366aa7e4301089ae7b9
https://github.com/llvm/llvm-project/commit/dc9d4f9a700843e9a7456366aa7e4301089ae7b9
Author: Pavel Labath <pavel at labath.sk>
Date: 2025-04-15 (Tue, 15 Apr 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.
(cherry picked from commit 39e7efe1e4304544289d8d1b45f4d04d11b4a791)
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