#include "lib/CppInterOp/Tracing.h"
|
| struct | Proxy |
| | Helper to allow INTEROP_TRACE() to work with zero or more arguments without relying on non-standard ##__VA_ARGS__ comma elision. More...
|
| |
|
| static unsigned | countParams (const char *sig) |
| | Count parameters from a PRETTY_FUNCTION / FUNCSIG string.
|
| |
| template<typename... Args> |
| static constexpr uint64_t | computeOutMask () |
| | Bit i set iff Args[i] is OutParam (i.e.
|
| |
| static std::optional< uint64_t > | lookupOutMask (llvm::StringRef Name) |
| | .td-declared OUT-arg bitmask for Name (matches CppName / func), or std::nullopt for non-public-API tracepoints.
|
| |
| static std::string | formatOutMaskMismatchMessage (llvm::StringRef Name, uint64_t expected, uint64_t actual) |
| | Pure-function diagnostic for the OUT-mask mismatch.
|
| |
Definition at line 546 of file Tracing.h.
◆ TraceRegion() [1/3]
template<typename... Args>
| CppInterOp::Tracing::TraceRegion::TraceRegion |
( |
const char * |
Name, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
◆ ~TraceRegion()
| CppInterOp::Tracing::TraceRegion::~TraceRegion |
( |
| ) |
|
|
inline |
◆ TraceRegion() [2/3]
| CppInterOp::Tracing::TraceRegion::TraceRegion |
( |
const TraceRegion & |
| ) |
|
|
delete |
◆ TraceRegion() [3/3]
| CppInterOp::Tracing::TraceRegion::TraceRegion |
( |
TraceRegion && |
| ) |
|
|
defaultnoexcept |
◆ computeOutMask()
template<typename... Args>
| static constexpr uint64_t CppInterOp::Tracing::TraceRegion::computeOutMask |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ countParams()
| static unsigned CppInterOp::Tracing::TraceRegion::countParams |
( |
const char * |
sig | ) |
|
|
inlinestatic |
◆ formatOutMaskMismatchMessage()
| static std::string CppInterOp::Tracing::TraceRegion::formatOutMaskMismatchMessage |
( |
llvm::StringRef |
Name, |
|
|
uint64_t |
expected, |
|
|
uint64_t |
actual |
|
) |
| |
|
inlinestatic |
◆ isActive()
| bool CppInterOp::Tracing::TraceRegion::isActive |
( |
| ) |
const |
|
inline |
◆ lookupOutMask()
| std::optional< uint64_t > CppInterOp::Tracing::TraceRegion::lookupOutMask |
( |
llvm::StringRef |
Name | ) |
|
|
static |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ record()
template<typename T >
| T CppInterOp::Tracing::TraceRegion::record |
( |
T |
val | ) |
|
|
inline |
Record a non-void return value.
Tracks pointer results for the reproducer's handle chain (e.g. auto v1 = Cpp::GetScope(...)).
Definition at line 689 of file Tracing.h.
◆ recordVoid()
| void CppInterOp::Tracing::TraceRegion::recordVoid |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: