summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/interface/SBFunction.i
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-11-10 17:47:04 +0000
committerGreg Clayton <gclayton@apple.com>2015-11-10 17:47:04 +0000
commitfe68904fa6001b29930391722ba1d4401906cb99 (patch)
tree709ad40609f5bb22f4a1da8e8019e21dfd10a1c5 /lldb/scripts/interface/SBFunction.i
parenta01a5ee72fe164f772df9a02bdd9e3e489556ec3 (diff)
downloadbcm5719-llvm-fe68904fa6001b29930391722ba1d4401906cb99.tar.gz
bcm5719-llvm-fe68904fa6001b29930391722ba1d4401906cb99.zip
Fixed TypeMemberFunctionImpl to not use clang types directly but use the new CompilerDecl class to do the job in an abstract way.
Fixed a crash that would happen if you tried to get the name of a constructor or destructor by calling "getDeclName()" instead of calling getName() (which would assert and crash). Added the ability to get function arguments names from SBFunction. llvm-svn: 252622
Diffstat (limited to 'lldb/scripts/interface/SBFunction.i')
-rw-r--r--lldb/scripts/interface/SBFunction.i3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBFunction.i b/lldb/scripts/interface/SBFunction.i
index df8fb8836d5..435e3e4bf30 100644
--- a/lldb/scripts/interface/SBFunction.i
+++ b/lldb/scripts/interface/SBFunction.i
@@ -77,6 +77,9 @@ public:
lldb::SBAddress
GetEndAddress ();
+ const char *
+ GetArgumentName (uint32_t arg_idx);
+
uint32_t
GetPrologueByteSize ();
OpenPOWER on IntegriCloud