From f16cecf3752a7c168293934d2ba6472a6b405694 Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Fri, 16 Oct 2020 11:46:35 -0700 Subject: [PATCH] [lldb] Implement ObjCExceptionThrowFrameRecognizer::GetName() Implement `GetName` for `ObjCExceptionThrowFrameRecognizer`. Otherwise, `frame recognizer list` shows "(internal)" for the name. Differential Revision: https://reviews.llvm.org/D89589 --- .../ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp index ae77dfeb4ad4..df364e2ee3bf 100644 --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp @@ -2709,6 +2709,9 @@ class ObjCExceptionThrowFrameRecognizer : public StackFrameRecognizer { return lldb::RecognizedStackFrameSP( new ObjCExceptionRecognizedStackFrame(frame)); }; + std::string GetName() override { + return "ObjC Exception Throw StackFrame Recognizer"; + } }; static void RegisterObjCExceptionRecognizer(Process *process) {