LLVM 20.0.0git
Classes | Namespaces | Functions
PrettyStackTrace.h File Reference
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Compiler.h"

Go to the source code of this file.

Classes

class  llvm::PrettyStackTraceEntry
 PrettyStackTraceEntry - This class is used to represent a frame of the "pretty" stack trace that is dumped when a program crashes. More...
 
class  llvm::PrettyStackTraceString
 PrettyStackTraceString - This object prints a specified string (which should not contain newlines) to the stream as the stack trace when a crash occurs. More...
 
class  llvm::PrettyStackTraceFormat
 PrettyStackTraceFormat - This object prints a string (which may use printf-style formatting but should not contain newlines) to the stream as the stack trace when a crash occurs. More...
 
class  llvm::PrettyStackTraceProgram
 PrettyStackTraceProgram - This object prints a specified program arguments to the stream as the stack trace when a crash occurs. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

void llvm::EnablePrettyStackTrace ()
 Enables dumping a "pretty" stack trace when the program crashes.
 
void llvm::EnablePrettyStackTraceOnSigInfoForThisThread (bool ShouldEnable=true)
 Enables (or disables) dumping a "pretty" stack trace when the user sends SIGINFO or SIGUSR1 to the current process.
 
void llvm::setBugReportMsg (const char *Msg)
 Replaces the generic bug report message that is output upon a crash.
 
const charllvm::getBugReportMsg ()
 Get the bug report message that will be output upon a crash.
 
const void * llvm::SavePrettyStackState ()
 Returns the topmost element of the "pretty" stack state.
 
void llvm::RestorePrettyStackState (const void *State)
 Restores the topmost element of the "pretty" stack state to State, which should come from a previous call to SavePrettyStackState().