LLDB  mainline
Classes | Namespaces | Macros | Functions
Instrumentation.h File Reference
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/Log.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/ErrorHandling.h"
#include <map>
#include <thread>
#include <type_traits>
Include dependency graph for Instrumentation.h:

Go to the source code of this file.

Classes

class  lldb_private::instrumentation::Instrumenter
 RAII object for instrumenting LLDB API functions. More...
 

Namespaces

 lldb_private
 A class that represents a running process on the host machine.
 
 lldb_private::instrumentation
 

Macros

#define LLDB_INSTRUMENT()   lldb_private::instrumentation::Instrumenter _instr(LLVM_PRETTY_FUNCTION);
 
#define LLDB_INSTRUMENT_VA(...)
 

Functions

template<typename T , typename std::enable_if< std::is_fundamental< T >::value, int >::type = 0>
void lldb_private::instrumentation::stringify_append (llvm::raw_string_ostream &ss, const T &t)
 
template<typename T >
void lldb_private::instrumentation::stringify_append (llvm::raw_string_ostream &ss, T *t)
 
template<typename T >
void lldb_private::instrumentation::stringify_append (llvm::raw_string_ostream &ss, const T *t)
 
template<>
void lldb_private::instrumentation::stringify_append< char > (llvm::raw_string_ostream &ss, const char *t)
 
template<>
void lldb_private::instrumentation::stringify_append< std::nullptr_t > (llvm::raw_string_ostream &ss, const std::nullptr_t &t)
 
template<typename Head >
void lldb_private::instrumentation::stringify_helper (llvm::raw_string_ostream &ss, const Head &head)
 
template<typename Head , typename... Tail>
void lldb_private::instrumentation::stringify_helper (llvm::raw_string_ostream &ss, const Head &head, const Tail &...tail)
 
template<typename... Ts>
std::string lldb_private::instrumentation::stringify_args (const Ts &...ts)
 

Macro Definition Documentation

◆ LLDB_INSTRUMENT

#define LLDB_INSTRUMENT ( )    lldb_private::instrumentation::Instrumenter _instr(LLVM_PRETTY_FUNCTION);

Definition at line 95 of file Instrumentation.h.

◆ LLDB_INSTRUMENT_VA

#define LLDB_INSTRUMENT_VA (   ...)
Value:

Definition at line 98 of file Instrumentation.h.

lldb_private::instrumentation::stringify_args
std::string stringify_args(const Ts &...ts)
Definition: Instrumentation.h:71
lldb_private::instrumentation::Instrumenter
RAII object for instrumenting LLDB API functions.
Definition: Instrumentation.h:79