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>

Go to the source code of this file.

Classes

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

Namespaces

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

Macros

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

Functions

template<typename T , std::enable_if_t< std::is_fundamental< T >::value, int > = 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 93 of file Instrumentation.h.

◆ LLDB_INSTRUMENT_VA

#define LLDB_INSTRUMENT_VA (   ...)
Value:
LLVM_PRETTY_FUNCTION, \
RAII object for instrumenting LLDB API functions.
std::string stringify_args(const Ts &...ts)

Definition at line 96 of file Instrumentation.h.