[Lldb-commits] [PATCH] D58350: Insert random blocks of python code with swig instead of modify-python-lldb.py

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 18 06:40:24 PST 2019


labath created this revision.
labath added reviewers: zturner, jingham.
Herald added a reviewer: serge-sans-paille.
Herald added a subscriber: jdoerfert.

Swig is perfectly capable of inserting blocks of python code into its
output (and we use those fascilities already), so there's no need for
this to be done in a post-process step.

lldb_iter is a general-purpose utility used from many classes, so I add
it to the main swig file. The other two blocks are tied to a specific
class, so I add it to the interface file of that class.


https://reviews.llvm.org/D58350

Files:
  scripts/Python/modify-python-lldb.py
  scripts/interface/SBModule.i
  scripts/interface/SBValue.i
  scripts/lldb.swig

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58350.187240.patch
Type: text/x-patch
Size: 10597 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190218/60abdf46/attachment.bin>


More information about the lldb-commits mailing list