Make SBTarget::Launch() respect the stop_at_entry argument.

Patch by Ilia K
Differential Revision: http://reviews.llvm.org/D7271

llvm-svn: 227833
This commit is contained in:
Zachary Turner 2015-02-02 18:50:01 +00:00
parent 6ff7ed6446
commit 6fd3f34d1f
1 changed files with 3 additions and 0 deletions

View File

@ -729,6 +729,9 @@ SBTarget::Launch
{
Mutex::Locker api_locker (target_sp->GetAPIMutex());
if (stop_at_entry)
launch_flags |= eLaunchFlagStopAtEntry;
if (getenv("LLDB_LAUNCH_FLAG_DISABLE_ASLR"))
launch_flags |= eLaunchFlagDisableASLR;