teak-llvm/lldb/scripts/Python
Enrico Granata ac9df2d1a6 <rdar://problem/13434476>
Making value objects properly iterable in constructs of the form
[ x for x in value_with_children ]

This would previously cause an endless loop because lacking a proper iterator object, Python will keep calling __getitem__() with increasing values of the index until it gets an IndexError
since SBValue::GetValueForExpressionPath() supports synthetic array members, no array index will ever really cause an IndexError to be raised, hence the endless iteration

class value_iter is an implementation of __iter__() that provides a terminating iterator over a value

llvm-svn: 177885
2013-03-25 18:53:07 +00:00
..
interface - Masking out SBCommandReturnObject::Printf() from the Python layer because SWIG and varargs do not get along well. 2013-03-25 17:37:39 +00:00
build-swig-Python.sh Makefile patches from Charles Davis and Daniel Malea (+ one or two tweaks). 2012-11-01 18:55:16 +00:00
edit-swig-python-wrapper-file.py Fix remaining Python issues leftover from my previous patch. 2011-06-01 02:33:12 +00:00
finish-swig-Python-LLDB.sh This checkin removes the last Cocoa formatters that were implemented in Python and reimplements them in C++. The Python Cocoa formatters are not shipped as part of LLDB anymore, but still exist in the source repository for user reference. Python formatters still exist for STL classes and users can still define their own Python formatters 2013-03-19 00:27:22 +00:00
modify-python-lldb.py Make sure that the lldb globals: 2012-12-10 19:18:23 +00:00
python-extensions.swig <rdar://problem/13434476> 2013-03-25 18:53:07 +00:00
python-typemaps.swig Ensuring that the swig typemaps for SBData set the size to 0 along with the pointer to NULL 2012-10-29 23:06:44 +00:00
python-wrapper.swig Remove std::string input arguments and replace with "const char *". 2013-01-16 19:53:55 +00:00