summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h
diff options
context:
space:
mode:
authorTodd Fiala <todd.fiala@gmail.com>2014-08-17 00:10:50 +0000
committerTodd Fiala <todd.fiala@gmail.com>2014-08-17 00:10:50 +0000
commit0bce1b67a3074d26c53fc5eb8d8edfa66bcfff77 (patch)
treefb7586b7f6350deb966cdd6c4f35a110c689e3eb /lldb/source/Plugins/Process/Linux/NativeProcessLinux.h
parent067d4c7c2790b8500a536edcfe8834e8343632ad (diff)
downloadbcm5719-llvm-0bce1b67a3074d26c53fc5eb8d8edfa66bcfff77.tar.gz
bcm5719-llvm-0bce1b67a3074d26c53fc5eb8d8edfa66bcfff77.zip
Fix Linux to respect ASLR settings when launching processes to debug locally and remotely.
See the following links for details: http://llvm.org/bugs/show_bug.cgi?id=20658 See http://reviews.llvm.org/D4941 llvm-svn: 215822
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.h')
-rw-r--r--lldb/source/Plugins/Process/Linux/NativeProcessLinux.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h
index f72b01bac61..ee71376a3b2 100644
--- a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h
+++ b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h
@@ -217,7 +217,8 @@ namespace lldb_private
const char *stdin_path,
const char *stdout_path,
const char *stderr_path,
- const char *working_dir);
+ const char *working_dir,
+ const lldb_private::ProcessLaunchInfo &launch_info);
~LaunchArgs();
@@ -228,6 +229,7 @@ namespace lldb_private
const char *m_stdout_path; // Redirect stdout or NULL.
const char *m_stderr_path; // Redirect stderr or NULL.
const char *m_working_dir; // Working directory or NULL.
+ const lldb_private::ProcessLaunchInfo &m_launch_info;
};
struct AttachArgs : OperationArgs
@@ -256,6 +258,7 @@ namespace lldb_private
const char *stdout_path,
const char *stderr_path,
const char *working_dir,
+ const lldb_private::ProcessLaunchInfo &launch_info,
Error &error);
/// Attaches to an existing process. Forms the
OpenPOWER on IntegriCloud