ΒΆvoid RestorePrettyStackState(const void* State)
void RestorePrettyStackState(const void* State)
Description
Restores the topmost element of the "pretty" stack state to State, which should come from a previous call to SavePrettyStackState(). This is useful when using a CrashRecoveryContext in code that also uses PrettyStackTraceEntries, to make sure the stack that's printed if a crash happens after a crash that's been recovered by CrashRecoveryContext doesn't have frames on it that were added in code unwound by the CrashRecoveryContext.
Declared at: llvm/include/llvm/Support/PrettyStackTrace.h:105
Parameters
- const void* State