hanchenye-llvm-project/lldb
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
..
docs Test commit. Capitalize 'os'. 2013-11-20 12:35:52 +00:00
examples Fix to only update the offset for concrete registers (ones that don't have 'slice' or 'composite' key/value pairs). 2013-12-13 00:35:21 +00:00
include Add a new way to bind a format to a type: by enum type 2013-12-28 08:44:02 +00:00
lib Bug #18214 - Adds LLVMObjCARCOpts.a to Makefile linkage for liblldb. 2013-12-11 21:55:00 +00:00
lldb.xcodeproj FormatNavigator has long stopped navigating anything - the generation of possible formatters matches is now done elsewhere 2013-12-20 09:38:13 +00:00
lldb.xcworkspace
resources Tweak exports list so lldb will still build correctly when 2013-11-21 22:23:46 +00:00
scripts Add a new way to bind a format to a type: by enum type 2013-12-28 08:44:02 +00:00
source Add a new way to bind a format to a type: by enum type 2013-12-28 08:44:02 +00:00
test Add a new way to bind a format to a type: by enum type 2013-12-28 08:44:02 +00:00
tools Test commit: added comment to tools makefile. 2013-12-14 07:21:51 +00:00
utils LUI: Fix some issues causing crashes in the source view 2013-10-23 01:18:21 +00:00
www Fix sidebar links 2013-12-26 07:23:52 +00:00
.arcconfig Adding .arcconfig file to LLDB to allow using Phabricator for reviews 2013-05-23 20:21:28 +00:00
.gitignore
CMakeLists.txt Remove the hardcoded declaration to the Python include path. Thanks to Kal Conley for the patch 2013-11-15 10:32:40 +00:00
INSTALL.txt
LICENSE.TXT
Makefile Respect SDKROOT in lldb Makefile 2013-09-18 16:32:28 +00:00