forked from OSchip/llvm-project
[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:
parent
4242df1470
commit
f16cecf375
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue