diff options
author | Todd Fiala <todd.fiala@gmail.com> | 2014-08-17 00:10:50 +0000 |
---|---|---|
committer | Todd Fiala <todd.fiala@gmail.com> | 2014-08-17 00:10:50 +0000 |
commit | 0bce1b67a3074d26c53fc5eb8d8edfa66bcfff77 (patch) | |
tree | fb7586b7f6350deb966cdd6c4f35a110c689e3eb /lldb/source/Plugins/Process/Linux/ProcessMonitor.h | |
parent | 067d4c7c2790b8500a536edcfe8834e8343632ad (diff) | |
download | bcm5719-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/ProcessMonitor.h')
-rw-r--r-- | lldb/source/Plugins/Process/Linux/ProcessMonitor.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Linux/ProcessMonitor.h b/lldb/source/Plugins/Process/Linux/ProcessMonitor.h index 3e289ff1337..bd3253412a1 100644 --- a/lldb/source/Plugins/Process/Linux/ProcessMonitor.h +++ b/lldb/source/Plugins/Process/Linux/ProcessMonitor.h @@ -55,6 +55,7 @@ public: const char *stdout_path, const char *stderr_path, const char *working_dir, + const lldb_private::ProcessLaunchInfo &launch_info, lldb_private::Error &error); ProcessMonitor(ProcessPOSIX *process, @@ -233,7 +234,8 @@ 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(); @@ -244,6 +246,7 @@ 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; }; void |