[lldb] Implement ObjCExceptionThrowFrameRecognizer::GetName()

Implement `GetName` for `ObjCExceptionThrowFrameRecognizer`. Otherwise, `frame recognizer list` shows "(internal)" for the name.

Differential Revision: https://reviews.llvm.org/D89589
This commit is contained in:
Dave Lee 2020-10-16 11:46:35 -07:00
parent 4242df1470
commit f16cecf375

View File

@ -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) {