[#llvm-RestorePrettyStackState] = xref:llvm.adoc[llvm]::RestorePrettyStackState :relfileprefix: ../ :mrdocs: Restore the pretty stack state saved by SavePrettyStackState. == Synopsis Declared in `<llvm/Support/PrettyStackTrace.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void RestorePrettyStackState(void const* State); ---- == Description `State` 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. == Parameters [cols="1,4"] |=== | Name| Description | *State* | Opaque stack state previously returned by SavePrettyStackState(). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#