LLDB mainline
VerboseTrapFrameRecognizer.h
Go to the documentation of this file.
1#ifndef LLDB_TARGET_VERBOSETRAPFRAMERECOGNIZER_H
2#define LLDB_TARGET_VERBOSETRAPFRAMERECOGNIZER_H
3
5
6namespace lldb_private {
7
8void RegisterVerboseTrapFrameRecognizer(Process &process);
9
10/// Holds the stack frame that caused the Verbose trap and the inlined stop
11/// reason message.
13public:
15 std::string stop_desc);
16
18
19private:
21};
22
23/// When a thread stops, it checks the current frame contains a
24/// Verbose Trap diagnostic. If so, it returns a \a
25/// VerboseTrapRecognizedStackFrame holding the diagnostic a stop reason
26/// description with and the parent frame as the most relavant frame.
28public:
29 std::string GetName() override {
30 return "Verbose Trap StackFrame Recognizer";
31 }
32
34 RecognizeFrame(lldb::StackFrameSP frame) override;
35};
36
37} // namespace lldb_private
38
39#endif // LLDB_TARGET_VERBOSETRAPFRAMERECOGNIZER_H
This class provides extra information about a stack frame that was provided by a specific stack frame...
A base class for frame recognizers.
When a thread stops, it checks the current frame contains a Verbose Trap diagnostic.
lldb::RecognizedStackFrameSP RecognizeFrame(lldb::StackFrameSP frame) override
Holds the stack frame that caused the Verbose trap and the inlined stop reason message.
A class that represents a running process on the host machine.
void RegisterVerboseTrapFrameRecognizer(Process &process)
std::shared_ptr< lldb_private::StackFrame > StackFrameSP
Definition: lldb-forward.h:420
std::shared_ptr< lldb_private::RecognizedStackFrame > RecognizedStackFrameSP
Definition: lldb-forward.h:401