|
clang 24.0.0git
|
Maps addresses to the PTU that allocated them, by keeping the slab checkpoint taken before each PTU began. More...
#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Interpreter/ErrorRecovery.h"
Public Member Functions | |
| PTUCheckpointLedger (const ASTContext &Ctx) | |
| void | recordCheckpoint (PTUID ID) |
Called once, right before parsing PTU ID begins. | |
| bool | isFromThisPTU (const void *Ptr, PTUID ID) const |
Was Ptr allocated during PTU ID or later? | |
| void | markDead (PTUID ID) |
| FIXME: Pop back CheckpointBeforePTU once memory restoration is supported. | |
Maps addresses to the PTU that allocated them, by keeping the slab checkpoint taken before each PTU began.
Definition at line 195 of file ErrorRecovery.h.
|
inlineexplicit |
Definition at line 201 of file ErrorRecovery.h.
Was Ptr allocated during PTU ID or later?
Definition at line 213 of file ErrorRecovery.h.
|
inline |
FIXME: Pop back CheckpointBeforePTU once memory restoration is supported.
For now, there is no memory restoration, so mark it dead.
Definition at line 223 of file ErrorRecovery.h.
|
inline |
Called once, right before parsing PTU ID begins.
Definition at line 204 of file ErrorRecovery.h.