diff options
author | Pavel Labath <labath@google.com> | 2016-07-06 13:18:50 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2016-07-06 13:18:50 +0000 |
commit | 0c4f01d44b5c9c14e464e57e7f09ce7f32f22464 (patch) | |
tree | ce73897e867e062740cb9b7ebdc2d78ca494a2ac /lldb/source/Plugins/Process/Linux/NativeProcessLinux.h | |
parent | 3c21a6907712ee6f47dba155acf0c51e3c5800b6 (diff) | |
download | bcm5719-llvm-0c4f01d44b5c9c14e464e57e7f09ce7f32f22464.tar.gz bcm5719-llvm-0c4f01d44b5c9c14e464e57e7f09ce7f32f22464.zip |
[LLGS] Log more precise errors during inferior launch
Summary:
We are seeing infrequent failures to launch the inferior process on android. The failing call
seems to be execve(). This adds more logging to see the actual error reported by the call.
Reviewers: tberghammer
Subscribers: tberghammer, lldb-commits, danalbert
Differential Revision: http://reviews.llvm.org/D22039
llvm-svn: 274624
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.h')
-rw-r--r-- | lldb/source/Plugins/Process/Linux/NativeProcessLinux.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h index c335f86aab0..d00b9c87f41 100644 --- a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h +++ b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h @@ -202,6 +202,9 @@ namespace process_linux { ::pid_t Attach(lldb::pid_t pid, Error &error); + static void + ChildFunc(const LaunchArgs &args) LLVM_ATTRIBUTE_NORETURN; + static Error SetDefaultPtraceOpts(const lldb::pid_t); |