HomePhabricator

LLGS: fix tracking execve on linux

Authored by labath on Jul 24 2019, 11:38 PM.

Description

LLGS: fix tracking execve on linux

Summary:
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.

Reviewers: clayborg, jasonmolenda

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D65207

llvm-svn: 366985

Details

Committed
labathJul 24 2019, 11:38 PM
Differential Revision
D65207: LLGS: fix tracking execve on linux
Parents
rGd5177643f0e1: [llvm-objdump][NFC] Make the PrettyPrinter::printInst() output buffered
Branches
Unknown
Tags
Unknown