summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2017-03-02 22:24:01 +0000
committerJim Ingham <jingham@apple.com>2017-03-02 22:24:01 +0000
commita35a7cd01610d98336d2384d619d07cfc421b95f (patch)
treeeae811b5af31a9fff353d7298ea9b36e2c3ce12d /lldb
parent0f9f9da3b70e78ee0ab7c126d2d960ec1ce2bfc5 (diff)
downloadbcm5719-llvm-a35a7cd01610d98336d2384d619d07cfc421b95f.tar.gz
bcm5719-llvm-a35a7cd01610d98336d2384d619d07cfc421b95f.zip
Python commands as first class citizens.
This should be a necessary precursor to adding support for any future extension languages. llvm-svn: 296834
Diffstat (limited to 'lldb')
-rwxr-xr-xlldb/www/projects.html20
1 files changed, 19 insertions, 1 deletions
diff --git a/lldb/www/projects.html b/lldb/www/projects.html
index 7c3bebdd052..b1aeb1021ec 100755
--- a/lldb/www/projects.html
+++ b/lldb/www/projects.html
@@ -198,7 +198,7 @@
SomeVectorLikeType that it gets from the synthetic children.
</p>
</li>
-
+
<li>
Recover thread information lazily
<p>
@@ -224,6 +224,24 @@
use of some particular instruction, or instruction pattern, etc."
</p>
</li>
+
+ <li>
+ Make Python-backed commands first class citizens
+ <p>
+ As it stands, Python commands have no way to advertise their options. They are
+ required to parse their arguments by hand. That leads to inconsistency, and more
+ importantly means they can't take advantage of auto-generated help and command
+ completion. This leaves python-backed commands feeling worse than built-in ones.
+ </p>
+ <p>
+ As part of this job, it would also be great to hook automatically hook the "type" of an option value
+ or argument (e.g. eArgTypeShlibName) to sensible default completers. You need to be able to
+ over-ride this in more complicated scenarios (like in "break set" where the presence of
+ a "-s" option limits the search for completion of a "-n" option.) But in common cases it is
+ unnecessary busy-work to have to supply the completer AND the type. If this worked, then
+ it would be easier for Python commands to also get correct completers.
+ </p>
+ </li>
<li>
Documentation and better examples
OpenPOWER on IntegriCloud