#include "lib/CppInterOp/Tracing.h"
Definition at line 57 of file Tracing.h.
◆ TraceInfo() [1/3]
| CppInterOp::Tracing::TraceInfo::TraceInfo |
( |
| ) |
|
|
inline |
◆ ~TraceInfo()
| CppInterOp::Tracing::TraceInfo::~TraceInfo |
( |
| ) |
|
|
inline |
◆ TraceInfo() [2/3]
| CppInterOp::Tracing::TraceInfo::TraceInfo |
( |
const TraceInfo & |
| ) |
|
|
delete |
◆ TraceInfo() [3/3]
| CppInterOp::Tracing::TraceInfo::TraceInfo |
( |
TraceInfo && |
| ) |
|
|
delete |
◆ appendToLog()
| size_t CppInterOp::Tracing::TraceInfo::appendToLog |
( |
const std::string & |
line | ) |
|
|
inline |
◆ clear()
| void CppInterOp::Tracing::TraceInfo::clear |
( |
| ) |
|
|
inline |
◆ getLastLogEntry()
| std::string CppInterOp::Tracing::TraceInfo::getLastLogEntry |
( |
| ) |
const |
|
inline |
◆ getLog()
| const std::vector< std::string > & CppInterOp::Tracing::TraceInfo::getLog |
( |
| ) |
const |
|
inline |
◆ getOrRegisterHandle()
| std::string CppInterOp::Tracing::TraceInfo::getOrRegisterHandle |
( |
const void * |
p | ) |
|
|
inline |
◆ getTimer()
| llvm::Timer & CppInterOp::Tracing::TraceInfo::getTimer |
( |
llvm::StringRef |
Name | ) |
|
|
inline |
◆ insideTracedRegion()
| bool CppInterOp::Tracing::TraceInfo::insideTracedRegion |
( |
| ) |
const |
|
inline |
◆ isEnabled()
| static bool CppInterOp::Tracing::TraceInfo::isEnabled |
( |
| ) |
|
|
inlinestatic |
◆ lookupHandle()
| std::string CppInterOp::Tracing::TraceInfo::lookupHandle |
( |
const void * |
p | ) |
|
|
inline |
Resolve a pointer to a printable form.
- "nullptr" for an actual null pointer.
- "vN" for a pointer registered via getOrRegisterHandle.
- "" (empty) for a non-null pointer never seen by the tracer – the caller decides how to render the unknown case (e.g.
nullptr /*unknown*‍/ in argument lists, "is this new?" in the producer-side auto vN = ... gating logic).
Definition at line 137 of file Tracing.h.
Referenced by CppInterOp::Tracing::ReproBuffer::append(), and CppInterOp::Tracing::MakeOutParam().
◆ nextRetIndex()
| unsigned CppInterOp::Tracing::TraceInfo::nextRetIndex |
( |
| ) |
|
|
inline |
Allocate the next _retN index for a vector-return placeholder.
Definition at line 145 of file Tracing.h.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ outIndexFor()
| std::pair< unsigned, bool > CppInterOp::Tracing::TraceInfo::outIndexFor |
( |
const void * |
Addr | ) |
|
|
inline |
Resolve an OUT-container source address to its _outN index.
First call with a given address allocates a fresh slot; later calls return the same slot so the reproducer reuses the buffer.
- Precondition
Addr is non-null (MakeOutParam captures &C).
- Returns
- {idx, true} on first use, {idx, false} on alias.
Definition at line 152 of file Tracing.h.
◆ popTimer()
| void CppInterOp::Tracing::TraceInfo::popTimer |
( |
| ) |
|
|
inline |
◆ pushTimer()
| void CppInterOp::Tracing::TraceInfo::pushTimer |
( |
llvm::Timer * |
T | ) |
|
|
inline |
◆ setDumping()
| void CppInterOp::Tracing::TraceInfo::setDumping |
( |
bool |
v | ) |
|
|
inline |
◆ setLogEntry()
| void CppInterOp::Tracing::TraceInfo::setLogEntry |
( |
size_t |
idx, |
|
|
const std::string & |
line |
|
) |
| |
|
inline |
◆ StartRegion()
| std::string CppInterOp::Tracing::TraceInfo::StartRegion |
( |
bool |
WriteOnStdErr = true | ) |
|
◆ StopRegion()
| void CppInterOp::Tracing::TraceInfo::StopRegion |
( |
const std::string & |
Version = "" | ) |
|
◆ writeToFile()
| std::string CppInterOp::Tracing::TraceInfo::writeToFile |
( |
const std::string & |
Version = "" | ) |
|
The documentation for this class was generated from the following files: