Clear alias argument vector for 'p' alias.
authorChaoren Lin <chaorenl@google.com>
Fri, 26 Feb 2016 03:36:27 +0000 (03:36 +0000)
committerChaoren Lin <chaorenl@google.com>
Fri, 26 Feb 2016 03:36:27 +0000 (03:36 +0000)
Summary: This fixes the 'p' command which should be aliased to 'expresion --'.

Reviewers: jingham

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D17634

llvm-svn: 261969

lldb/source/Interpreter/CommandInterpreter.cpp

index 20fe467..5de6177 100644 (file)
@@ -337,6 +337,8 @@ CommandInterpreter::Initialize ()
         AddAlias ("image", cmd_obj_sp);
 
 
+    alias_arguments_vector_sp.reset(new OptionArgVector);
+
     cmd_obj_sp = GetCommandSPExact ("expression", false);
     if (cmd_obj_sp)
     {