hanchenye-llvm-project/lldb/scripts/Python
Enrico Granata 30f287fde5 Add a new way to bind a format to a type: by enum type
The "type format add" command gets a new flag --type (-t). If you pass -t <sometype>, upon fetching the value for an object of your type,
LLDB will display it as-if it was of enumeration type <sometype>
This is useful in cases of non-contiguous enums where there are empty gaps of unspecified values, and as such one cannot type their variables as the enum type,
but users would still like to see them as-if they were of the enum type (e.g. DWARF field types with their user-reserved ranges)

The SB API has also been improved to handle both types of formats, and a test case is added

llvm-svn: 198105
2013-12-28 08:44:02 +00:00
..
interface Add a new way to bind a format to a type: by enum type 2013-12-28 08:44:02 +00:00
build-swig-Python.sh Add new Queue, QueueItem, Queuelist, SBQueue, SBQueueItem classes to represent 2013-12-13 00:29:16 +00:00
finish-swig-Python-LLDB.sh Adding a diagnose-nsstring command 2013-05-30 23:36:47 +00:00
modify-python-lldb.py Make sure that the lldb globals: 2012-12-10 19:18:23 +00:00
python-extensions.swig Added a way to extract the module specifications from a file. A module specification is information that is required to describe a module (executable, shared library, object file, ect). This information includes host path, platform path (remote path), symbol file path, UUID, object name (for objects in .a files for example you could have an object name of "foo.o"), and target triple. Module specification can be used to create a module, or used to add a module to a target. A list of module specifications can be used to enumerate objects in container objects (like universal mach files and BSD archive files). 2013-07-08 22:22:41 +00:00
python-swigsafecast.swig Second attempt at getting the PyCallable changes in trunk 2013-07-09 20:14:26 +00:00
python-typemaps.swig Sort out a number of mismatched integer types in order to cut down the number of compiler warnings. 2013-06-19 19:04:53 +00:00
python-wrapper.swig Adding a document that describes the architecture of data formatters. Suggestions and ideas for improvements most welcome 2013-12-26 07:21:41 +00:00