diff options
| author | Enrico Granata <egranata@apple.com> | 2015-07-06 18:28:46 +0000 |
|---|---|---|
| committer | Enrico Granata <egranata@apple.com> | 2015-07-06 18:28:46 +0000 |
| commit | c1f705c2298d64edd5d54ca59816332cce34869b (patch) | |
| tree | 20efb79aae596fcc8f988114ee9d861a50c78477 /lldb/scripts | |
| parent | 95dd08e4c928d17464e9974ed98493f9ab87f257 (diff) | |
| download | bcm5719-llvm-c1f705c2298d64edd5d54ca59816332cce34869b.tar.gz bcm5719-llvm-c1f705c2298d64edd5d54ca59816332cce34869b.zip | |
Add a GetDisplayName() API to SBFrame, SBFunction and SBSymbol
This API is currently a no-op (in the sense that it has the same behavior as the already existing GetName()), but is meant long-term to provide a best-for-visualization version of the name of a function
It is still not hooked up to the command line 'bt' command, nor to the 'gui' mode, but I do have ideas on how to make that work going forward
rdar://21203242
llvm-svn: 241482
Diffstat (limited to 'lldb/scripts')
| -rw-r--r-- | lldb/scripts/interface/SBFrame.i | 3 | ||||
| -rw-r--r-- | lldb/scripts/interface/SBFunction.i | 3 | ||||
| -rw-r--r-- | lldb/scripts/interface/SBSymbol.i | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBFrame.i b/lldb/scripts/interface/SBFrame.i index d87bc532b58..1c10a9b6e3e 100644 --- a/lldb/scripts/interface/SBFrame.i +++ b/lldb/scripts/interface/SBFrame.i @@ -127,6 +127,9 @@ public: ") GetFunctionName; const char * GetFunctionName(); + + const char * + GetDisplayFunctionName (); const char * GetFunctionName() const; diff --git a/lldb/scripts/interface/SBFunction.i b/lldb/scripts/interface/SBFunction.i index d3660aff08c..346237583e8 100644 --- a/lldb/scripts/interface/SBFunction.i +++ b/lldb/scripts/interface/SBFunction.i @@ -58,6 +58,9 @@ public: const char * GetName() const; + + const char * + GetDisplayName() const; const char * GetMangledName () const; diff --git a/lldb/scripts/interface/SBSymbol.i b/lldb/scripts/interface/SBSymbol.i index f6db14c0ee5..b6717055e48 100644 --- a/lldb/scripts/interface/SBSymbol.i +++ b/lldb/scripts/interface/SBSymbol.i @@ -33,6 +33,9 @@ public: GetName() const; const char * + GetDisplayName() const; + + const char * GetMangledName () const; lldb::SBInstructionList |

