Fix an issue where the @lldb.command marker would not work with the new 5-argument version of the Python command function

This:
a) teaches PythonCallable to look inside a callable object
b) teaches PythonCallable to discover whether a callable method is bound
c) teaches lldb.command to dispatch to either the older 4 argument version or the newer 5 argument version

llvm-svn: 273640
This commit is contained in:
Enrico Granata committed 2016-06-24 02:07:15 +00:00
1 parent 68f7f1cf00
commit a5d6765cb0
4 files changed
+36 -6

No files matched your search

@@ -502,6 +502,7 @@ class PythonCallable : public PythonObject
public:
struct ArgInfo {
size_t count;
bool is_bound_method : 1;
bool has_varargs : 1;
bool has_kwargs : 1;
};