LLDB  mainline
Public Member Functions | Private Member Functions | Private Attributes | List of all members
lldb_private::instrumentation::Instrumenter Class Reference

RAII object for instrumenting LLDB API functions. More...

#include <Instrumentation.h>

Collaboration diagram for lldb_private::instrumentation::Instrumenter:
Collaboration graph
[legend]

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. More...
 

Detailed Description

RAII object for instrumenting LLDB API functions.

Definition at line 79 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 90 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 87 of file Instrumentation.h.

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


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