16 #ifndef LLVM_CLANG_BASIC_PRETTYSTACKTRACE_H 17 #define LLVM_CLANG_BASIC_PRETTYSTACKTRACE_H 20 #include "llvm/Support/PrettyStackTrace.h" 32 : SM(sm), Loc(L), Message(Msg) {}
33 void print(raw_ostream &OS)
const override;
void print(raw_ostream &OS) const override
If a crash happens while one of these objects are live, the message is printed out along with the spe...
Encodes a location in the source.
Dataflow Directional Tag Classes.
Defines the clang::SourceLocation class and associated facilities.
This class handles loading and caching of source files into memory.
PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg)