[Lldb-commits] [lldb] r304379 - Forgot to mention rewriting CommandObject::DoExecute

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Wed May 31 18:05:30 PDT 2017


Author: jingham
Date: Wed May 31 20:05:30 2017
New Revision: 304379

URL: http://llvm.org/viewvc/llvm-project?rev=304379&view=rev
Log:
Forgot to mention rewriting CommandObject::DoExecute 
using the SB API's not the lldb_private API's.

Modified:
    lldb/trunk/www/projects.html

Modified: lldb/trunk/www/projects.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/projects.html?rev=304379&r1=304378&r2=304379&view=diff
==============================================================================
--- lldb/trunk/www/projects.html (original)
+++ lldb/trunk/www/projects.html Wed May 31 20:05:30 2017
@@ -244,6 +244,25 @@
                                             </li>
 
                                             <li>
+                                              Reimplement the command interpreter commands using the SB API
+                                              <p>
+                                                Currently, all the CommandObject::DoExecute methods are implemented 
+                                                using the lldb_private API's.  That generally means that there's code
+                                                that gets duplicated between the CommandObject and the SB API that does
+                                                roughly the same thing.  We would reduce this code duplication, present a
+                                                single coherent face to the users of lldb, and keep
+                                                ourselves more honest about what we need in the SB API's if we implemented
+                                                the CommandObjects::DoExecute methods using the SB API's.
+                                              </p>
+                                              <p>
+                                                BTW, it is only the way it was much easier to develop lldb if it had a functioning
+                                                command-line early on.  So we did that first, and developed the SB API's when lldb
+                                                was more mature.  There's no good technical reason to have the commands use the
+                                                lldb_private API's.
+                                              </p>
+                                            </li>
+
+                                            <li>
                                               Documentation and better examples
 
                                               <p>




More information about the lldb-commits mailing list