diff options
| author | Kuba Mracek <mracek@apple.com> | 2018-10-31 00:36:20 +0000 |
|---|---|---|
| committer | Kuba Mracek <mracek@apple.com> | 2018-10-31 00:36:20 +0000 |
| commit | 8fddd9818599663cee75b834c19df9bfd41a64f2 (patch) | |
| tree | d76b43ccc16f9e14fec315222030f6051f010e8c /lldb/scripts/interface/SBVariablesOptions.i | |
| parent | 3e27306565554fbf8f1c93a55f278856fe02c22e (diff) | |
| download | bcm5719-llvm-8fddd9818599663cee75b834c19df9bfd41a64f2.tar.gz bcm5719-llvm-8fddd9818599663cee75b834c19df9bfd41a64f2.zip | |
[lldb] Introduce StackFrameRecognizer [take 2]
This patch introduces a concept of "frame recognizer" and "recognized frame". This should be an extensible mechanism that retrieves information about special frames based on ABI, arguments or other special properties of that frame, even without source code. A few examples where that could be useful could be 1) objc_exception_throw, where we'd like to get the current exception, 2) terminate_with_reason and extracting the current terminate string, 3) recognizing Objective-C frames and automatically extracting the receiver+selector, or perhaps all arguments (based on selector).
Differential Revision: https://reviews.llvm.org/D44603
llvm-svn: 345686
Diffstat (limited to 'lldb/scripts/interface/SBVariablesOptions.i')
| -rw-r--r-- | lldb/scripts/interface/SBVariablesOptions.i | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lldb/scripts/interface/SBVariablesOptions.i b/lldb/scripts/interface/SBVariablesOptions.i index 3941a58d7bc..1d58a4d3b85 100644 --- a/lldb/scripts/interface/SBVariablesOptions.i +++ b/lldb/scripts/interface/SBVariablesOptions.i @@ -26,7 +26,13 @@ public: void SetIncludeArguments (bool); - + + bool + GetIncludeRecognizedArguments () const; + + void + SetIncludeRecognizedArguments (bool); + bool GetIncludeLocals () const; |

