LLDB mainline
|
RAII object for instrumenting LLDB API functions. More...
#include <Instrumentation.h>
Public Member Functions | |
Instrumenter (llvm::StringRef pretty_func, std::string &&pretty_args={}) | |
~Instrumenter () | |
Private Member Functions | |
void | UpdateBoundary () |
Private Attributes | |
llvm::StringRef | m_pretty_func |
bool | m_local_boundary = false |
Whether this function call was the one crossing the API boundary. | |
RAII object for instrumenting LLDB API functions.
Definition at line 77 of file Instrumentation.h.
Instrumenter::Instrumenter | ( | llvm::StringRef | pretty_func, |
std::string && | pretty_args = {} |
||
) |
Definition at line 26 of file Instrumentation.cpp.
References lldb_private::API, g_api_signposts, g_global_boundary, lldb_private::GetLog(), LLDB_LOG, m_local_boundary, and m_pretty_func.
Instrumenter::~Instrumenter | ( | ) |
Definition at line 39 of file Instrumentation.cpp.
References g_api_signposts, g_global_boundary, m_local_boundary, and m_pretty_func.
|
private |
|
private |
Whether this function call was the one crossing the API boundary.
Definition at line 88 of file Instrumentation.h.
Referenced by Instrumenter(), and ~Instrumenter().
|
private |
Definition at line 85 of file Instrumentation.h.
Referenced by Instrumenter(), and ~Instrumenter().