diff options
| author | Greg Clayton <gclayton@apple.com> | 2015-11-10 17:47:04 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2015-11-10 17:47:04 +0000 |
| commit | fe68904fa6001b29930391722ba1d4401906cb99 (patch) | |
| tree | 709ad40609f5bb22f4a1da8e8019e21dfd10a1c5 /lldb/scripts/interface/SBFunction.i | |
| parent | a01a5ee72fe164f772df9a02bdd9e3e489556ec3 (diff) | |
| download | bcm5719-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.i | 3 |
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 (); |

