llvm-project/lldb/source/Host/common
Zachary Turner 270e99ab0a Fix some posix assumptions related to running shell commands.
This is a resubmit of r223548, which was reverted due to breaking
tests on Linux and Mac.

This resubmit fixes the reason for the revert by adding back some
accidentally removed code which appends -c to the command line
when running /bin/sh.

This resubmit also differs from the original patch in that it sets
the architecture on the ProcessLaunchInfo.  A follow-up patch will
refactor this to separate the logic for different platforms.

Differential Revision: http://reviews.llvm.org/D6553

Reviewed By: Greg Clayton

llvm-svn: 223695
2014-12-08 21:36:42 +00:00
..
Condition.cpp cleanup unreferenced functions 2014-03-20 06:08:36 +00:00
Editline.cpp Disable Editline on Windows. 2014-11-17 21:31:18 +00:00
File.cpp LLGS Android target support - for Andy Chien : http://reviews.llvm.org/D6166 2014-11-08 01:41:49 +00:00
FileCache.cpp Move FileSystem functions out of Host and into their own classes. 2014-08-15 22:04:21 +00:00
FileSpec.cpp Fix some posix assumptions related to running shell commands. 2014-12-08 21:36:42 +00:00
Host.cpp Fix some posix assumptions related to running shell commands. 2014-12-08 21:36:42 +00:00
HostInfoBase.cpp Fix some posix assumptions related to running shell commands. 2014-12-08 21:36:42 +00:00
HostNativeThreadBase.cpp Fix up the HostThread interface, making the interface simpler. 2014-09-23 18:32:09 +00:00
HostProcess.cpp Create a process launcher abstraction. 2014-10-14 21:55:08 +00:00
HostThread.cpp Change HostThread::GetNativeThread() to return a derived reference. 2014-11-17 22:42:57 +00:00
IOObject.cpp Creates a socket host object. 2014-08-06 18:16:26 +00:00
Makefile
MonitoringProcessLauncher.cpp Fix broken build after signature change of ResolveExecutable. 2014-11-17 21:30:58 +00:00
Mutex.cpp Fixing warnings shouldn't introduce a crasher. 2014-07-18 18:32:45 +00:00
NativeBreakpoint.cpp Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
NativeBreakpoint.h Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
NativeBreakpointList.cpp Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
NativeBreakpointList.h Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
NativeProcessProtocol.cpp llgs: fix Ctrl-C inferior interrupt handling to do the right thing. 2014-09-11 23:29:14 +00:00
NativeProcessProtocol.h fix minor comment typo 2014-11-13 23:45:59 +00:00
NativeThreadProtocol.cpp Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
NativeThreadProtocol.h llgs: fix thread names broken by recent native thread changes. 2014-09-12 22:51:49 +00:00
OptionParser.cpp Fix tests broken by the OptionValidator changes. 2014-07-09 16:32:07 +00:00
ProcessRunLock.cpp MingW compilation (windows). Includes various refactoring to improve portability. 2013-08-23 12:44:05 +00:00
Socket.cpp Apply SOCK_CLOEXEC flag to socket API functions in order to avoid handle leakage to a forked child process. 2014-11-14 16:25:18 +00:00
SocketAddress.cpp Refactor SocketAddress::getaddrinfo - avoid calling IsValid if ::getaddrinfo has failed. 2014-11-27 00:32:54 +00:00
SoftwareBreakpoint.cpp llgs: add logging to Native*Protocol breakpoints around byte values replaced and restored. 2014-10-08 17:14:53 +00:00
SoftwareBreakpoint.h Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
Symbols.cpp Correct a standalone debug file path 2013-11-25 20:33:56 +00:00
Terminal.cpp lldb: remove adhoc implementation of array_sizeof 2014-06-27 05:17:41 +00:00
ThisThread.cpp Clean-up warnings on Linux/GCC 2014-09-16 06:34:29 +00:00
ThreadLauncher.cpp Implement explicit thread stack size specification on Windows. 2014-10-24 22:06:29 +00:00
TimeValue.cpp Various small changes for build of LLDB on Visual Studio 2013 RC (MSVC12) 2013-09-20 22:35:22 +00:00