mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 12:25:46 +08:00
Change the "run" / "r" command alias to not use --shell for lldb
running natively on arm - on iOS we have to do some extra work to track the inferior process if we launch with a shell intermediary. <rdar://problem/11719396> llvm-svn: 159803
This commit is contained in:
@@ -248,7 +248,11 @@ CommandInterpreter::Initialize ()
|
||||
if (cmd_obj_sp)
|
||||
{
|
||||
alias_arguments_vector_sp.reset (new OptionArgVector);
|
||||
#if defined (__arm__)
|
||||
ProcessAliasOptionsArgs (cmd_obj_sp, "--", alias_arguments_vector_sp);
|
||||
#else
|
||||
ProcessAliasOptionsArgs (cmd_obj_sp, "--shell=/bin/bash --", alias_arguments_vector_sp);
|
||||
#endif
|
||||
AddAlias ("r", cmd_obj_sp);
|
||||
AddAlias ("run", cmd_obj_sp);
|
||||
AddOrReplaceAliasOptions ("r", alias_arguments_vector_sp);
|
||||
|
||||
Reference in New Issue
Block a user