[Lldb-commits] [PATCH] D89589: [lldb] Implement ObjCExceptionThrowFrameRecognizer::GetName()
Dave Lee via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 16 13:09:37 PDT 2020
kastiglione created this revision.
kastiglione added a reviewer: jingham.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
kastiglione requested review of this revision.
Herald added a subscriber: JDevlieghere.
Implement `GetName` for `ObjCExceptionThrowFrameRecognizer`. Otherwise, `frame recognizer list` shows "(internal)" for the name.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D89589
Files:
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
Index: lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
===================================================================
--- lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
+++ lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
@@ -2709,6 +2709,9 @@
return lldb::RecognizedStackFrameSP(
new ObjCExceptionRecognizedStackFrame(frame));
};
+ std::string GetName() override {
+ return "ObjC Exception Throw StackFrame Recognizer";
+ }
};
static void RegisterObjCExceptionRecognizer(Process *process) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89589.298732.patch
Type: text/x-patch
Size: 622 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201016/d6c37eb5/attachment.bin>
More information about the lldb-commits
mailing list