17 #ifndef LLVM_CLANG_BASIC_PRETTYSTACKTRACE_H
18 #define LLVM_CLANG_BASIC_PRETTYSTACKTRACE_H
21 #include "llvm/Support/PrettyStackTrace.h"
33 : SM(sm), Loc(L), Message(Msg) {}
34 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.
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)