|
LLDB mainline
|
A description of how to find an error thrown by a function. More...
#include <LanguageRuntime.h>
Public Member Functions | |
| ThrownErrorLocation (lldb::StackFrameSP callee_frame_sp=nullptr) | |
| std::optional< lldb::ValueObjectSP > | GetThrownError (lldb::StackFrameSP caller_frame_sp) const |
| See LanguageRuntime::GetThrownError. | |
Private Attributes | |
| LanguageRuntime * | m_runtime = nullptr |
| std::optional< Value > | m_location |
A description of how to find an error thrown by a function.
It is computed from the callee's frame, and is only meaningful in the frame the callee returns to.
Definition at line 232 of file LanguageRuntime.h.
|
explicit |
Definition at line 214 of file LanguageRuntime.cpp.
References m_location, and m_runtime.
| std::optional< lldb::ValueObjectSP > LanguageRuntime::ThrownErrorLocation::GetThrownError | ( | lldb::StackFrameSP | caller_frame_sp | ) | const |
See LanguageRuntime::GetThrownError.
Definition at line 229 of file LanguageRuntime.cpp.
References m_location, and m_runtime.
|
private |
Definition at line 242 of file LanguageRuntime.h.
Referenced by GetThrownError(), and ThrownErrorLocation().
|
private |
Definition at line 241 of file LanguageRuntime.h.
Referenced by GetThrownError(), and ThrownErrorLocation().