LLVM
15.0.0git
|
Public Member Functions | |
SourceCode (StringRef FileName, int64_t Line, int Lines, const Optional< StringRef > &EmbeddedSource=Optional< StringRef >(None)) | |
void | format (raw_ostream &OS) |
Public Attributes | |
const int64_t | Line |
const int | Lines |
const int64_t | FirstLine |
const int64_t | LastLine |
const Optional< StringRef > | PrunedSource |
Definition at line 31 of file DIPrinter.cpp.
|
inline |
Definition at line 76 of file DIPrinter.cpp.
|
inline |
Definition at line 84 of file DIPrinter.cpp.
References ceil, FirstLine, llvm::format_decimal(), LastLine, Line, llvm::StringRef::npos, and PrunedSource.
Referenced by llvm::symbolize::JSONPrinter::print(), and llvm::symbolize::PlainPrinterBase::printContext().
const int64_t llvm::symbolize::SourceCode::FirstLine |
Definition at line 72 of file DIPrinter.cpp.
Referenced by format().
const int64_t llvm::symbolize::SourceCode::LastLine |
Definition at line 73 of file DIPrinter.cpp.
Referenced by format().
const int64_t llvm::symbolize::SourceCode::Line |
Definition at line 70 of file DIPrinter.cpp.
Referenced by format().
Definition at line 71 of file DIPrinter.cpp.
Definition at line 74 of file DIPrinter.cpp.
Referenced by format().