[Lldb-commits] [PATCH] D65207: LLGS: fix tracking execve on linux

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 24 06:26:53 PDT 2019

labath created this revision.
labath added reviewers: clayborg, jasonmolenda.

Due to a logic error, lldb-server ended up asserting/crashing every time
the debugged process attempted an execve(). This fixes the error, and
extends TestExec to work on other platforms too. The "extension"
consists of avoiding non-standard posix_spawn extensions and using the
classic execve() call, which should be available on any platform that
actually supports re-execing. I change the test decorator from
@skipUnlessDarwin to @skipIfWindows.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65207.211486.patch
Type: text/x-patch
Size: 4627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190724/8b3c084d/attachment.bin>

More information about the lldb-commits mailing list