summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
authorEnrico Granata <granata.enrico@gmail.com>2012-02-17 03:18:30 +0000
committerEnrico Granata <granata.enrico@gmail.com>2012-02-17 03:18:30 +0000
commit864e3e8413b2ab0fad4432943056be03d60e73fc (patch)
treec2e52326a4d6fd1f025d256dcc6dbdc2d452e86e /lldb/scripts/Python/interface
parent355efbb2e044126adecdcadca87c8cdfb5c33a85 (diff)
downloadbcm5719-llvm-864e3e8413b2ab0fad4432943056be03d60e73fc.tar.gz
bcm5719-llvm-864e3e8413b2ab0fad4432943056be03d60e73fc.zip
Adding formatters for several useful Objective-C/Cocoa data types. The new categories are not enabled at startup, but can be manually activated if desired.
Adding new API calls to SBValue to be able to retrieve the associated formatters Some refactoring to FormatNavigator::Get() in order to shrink its size down to more manageable terms (a future, massive, refactoring effort will still be needed) Test cases added for the above llvm-svn: 150784
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r--lldb/scripts/Python/interface/SBTypeNameSpecifier.i5
-rw-r--r--lldb/scripts/Python/interface/SBValue.i12
2 files changed, 17 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBTypeNameSpecifier.i b/lldb/scripts/Python/interface/SBTypeNameSpecifier.i
index f50761c602e..8bb69a7d397 100644
--- a/lldb/scripts/Python/interface/SBTypeNameSpecifier.i
+++ b/lldb/scripts/Python/interface/SBTypeNameSpecifier.i
@@ -21,6 +21,8 @@ namespace lldb {
SBTypeNameSpecifier (const char* name,
bool is_regex = false);
+
+ SBTypeNameSpecifier (SBType type);
SBTypeNameSpecifier (const lldb::SBTypeNameSpecifier &rhs);
@@ -35,6 +37,9 @@ namespace lldb {
const char*
GetName();
+ lldb::SBType
+ GetType ();
+
bool
IsRegex();
diff --git a/lldb/scripts/Python/interface/SBValue.i b/lldb/scripts/Python/interface/SBValue.i
index b1c24055b67..d61c7aa7752 100644
--- a/lldb/scripts/Python/interface/SBValue.i
+++ b/lldb/scripts/Python/interface/SBValue.i
@@ -136,6 +136,18 @@ public:
bool
SetValueFromCString (const char *value_str);
+ lldb::SBTypeFormat
+ GetTypeFormat ();
+
+ lldb::SBTypeSummary
+ GetTypeSummary ();
+
+ lldb::SBTypeFilter
+ GetTypeFilter ();
+
+ lldb::SBTypeSynthetic
+ GetTypeSynthetic ();
+
lldb::SBValue
GetChildAtIndex (uint32_t idx);
OpenPOWER on IntegriCloud