LLVM 20.0.0git
|
Public Member Functions | |
SourceCode (StringRef FileName, int64_t Line, int Lines, const std::optional< StringRef > &EmbeddedSource=std::optional< StringRef >()) | |
void | format (raw_ostream &OS) |
Public Attributes | |
const int64_t | Line |
const int | Lines |
const int64_t | FirstLine |
const int64_t | LastLine |
const std::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 FirstLine, llvm::format_decimal(), LastLine, Line, llvm::StringRef::npos, OS, PrunedSource, and llvm::String.
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().
const int llvm::symbolize::SourceCode::Lines |
Definition at line 71 of file DIPrinter.cpp.
Definition at line 74 of file DIPrinter.cpp.
Referenced by format().