Go to file
Pavel Labath 235c8405eb Avoid going through Platform when creating a NativeProcessProtocol instance
Summary:
This commit avoids the Platform instance when spawning or attaching to a process in lldb-server.
Instead, I have the server call a (static) method of NativeProcessProtocol directly. The reason
for this is that I believe that NativeProcessProtocol should be decoupled from the Platform
(after all, it always knows which platform it is running on, unlike the rest of lldb).
Additionally, the kind of platform actions a NativeProcessProtocol instance is likely to differ
greatly from the platform actions of the lldb client, so I think the separation makes sense.

After this, the only dependency NativeProcessLinux has on PlatformLinux is the ResolveExecutable
method, which needs additional refactoring.

Reviewers: ovyalov, clayborg

Subscribers: lldb-commits

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

llvm-svn: 241672
2015-07-08 09:08:53 +00:00
clang [EH] Fix for clang bug 24005 - no cleanup for array of memcpy-able objects in struct (patch by Denis Zobnin) 2015-07-08 07:31:02 +00:00
clang-tools-extra Revert r241330. It compiled with Visual C++ 2013 and gcc 4.9.1 (mingw) but now fails the bots. 2015-07-03 09:30:33 +00:00
compiler-rt [asan] Add missing $ASAN_OPTIONS to some test cases 2015-07-07 09:55:00 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Properly initialize Module pointer 2015-06-27 12:35:54 +00:00
libcxx The rest of N4279 and LWG#2464 - for unordered_map 2015-07-07 05:45:35 +00:00
libcxxabi fallback_malloc: silence conversion warning (NFC) 2015-06-03 17:25:35 +00:00
libunwind Fix unw_getcontext() return value on AArch64. 2015-06-25 15:12:46 +00:00
lld COFF: Fix AMD64_SECTION relocation. 2015-07-08 01:47:28 +00:00
lldb Avoid going through Platform when creating a NativeProcessProtocol instance 2015-07-08 09:08:53 +00:00
llgo [llgo] cmd/llgoi: use line editor 2015-05-23 15:16:09 +00:00
llvm [X86][SSE] Added (V)ROUNDSD + (V)ROUNDSS stack folding support 2015-07-08 08:07:57 +00:00
openmp Fix OMPT event_barrer_end 2015-07-01 15:16:04 +00:00
polly Print thread-identifiers in GPU debug output 2015-07-06 15:36:16 +00:00