LLDB mainline
lldb_private::instrumentation::Instrumenter Class Reference

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.

Detailed Description

RAII object for instrumenting LLDB API functions.

Definition at line 77 of file Instrumentation.h.

Constructor & Destructor Documentation

◆ Instrumenter()

Instrumenter::Instrumenter ( llvm::StringRef pretty_func,
std::string && pretty_args = {} )

◆ ~Instrumenter()

Instrumenter::~Instrumenter ( )

Member Function Documentation

◆ UpdateBoundary()

void lldb_private::instrumentation::Instrumenter::UpdateBoundary ( )
private

Member Data Documentation

◆ m_local_boundary

bool lldb_private::instrumentation::Instrumenter::m_local_boundary = false
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().

◆ m_pretty_func

llvm::StringRef lldb_private::instrumentation::Instrumenter::m_pretty_func
private

Definition at line 85 of file Instrumentation.h.

Referenced by Instrumenter(), and ~Instrumenter().


The documentation for this class was generated from the following files: