[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
1 changed files with 3 additions and 0 deletions

View File

@ -2709,6 +2709,9 @@ class ObjCExceptionThrowFrameRecognizer : public StackFrameRecognizer {
return lldb::RecognizedStackFrameSP( return lldb::RecognizedStackFrameSP(
new ObjCExceptionRecognizedStackFrame(frame)); new ObjCExceptionRecognizedStackFrame(frame));
}; };
std::string GetName() override {
return "ObjC Exception Throw StackFrame Recognizer";
}
}; };
static void RegisterObjCExceptionRecognizer(Process *process) { static void RegisterObjCExceptionRecognizer(Process *process) {