LLVM 20.0.0git
|
A format-neutral container for source line information. More...
#include "llvm/DebugInfo/DIContext.h"
Public Member Functions | |
DILineInfo () | |
bool | operator== (const DILineInfo &RHS) const |
bool | operator!= (const DILineInfo &RHS) const |
bool | operator< (const DILineInfo &RHS) const |
operator bool () const | |
void | dump (raw_ostream &OS) |
Public Attributes | |
std::string | FileName |
std::string | FunctionName |
std::string | StartFileName |
std::optional< StringRef > | Source |
std::optional< StringRef > | LineSource |
uint32_t | Line = 0 |
uint32_t | Column = 0 |
uint32_t | StartLine = 0 |
std::optional< uint64_t > | StartAddress |
uint32_t | Discriminator = 0 |
bool | IsApproximateLine = false |
Static Public Attributes | |
static constexpr const char *const | ApproxString = "(approximate)" |
static constexpr const char *const | BadString = "<invalid>" |
static constexpr const char *const | Addr2LineBadString = "??" |
A format-neutral container for source line information.
Definition at line 32 of file DIContext.h.
|
inline |
Definition at line 55 of file DIContext.h.
Referenced by operator bool().
|
inline |
Definition at line 77 of file DIContext.h.
References BadString, Column, FileName, FunctionName, Line, OS, StartFileName, and StartLine.
|
inlineexplicit |
Definition at line 75 of file DIContext.h.
References DILineInfo().
|
inline |
Definition at line 66 of file DIContext.h.
References RHS.
|
inline |
Definition at line 68 of file DIContext.h.
References Column, Discriminator, FileName, FunctionName, Line, RHS, StartFileName, and StartLine.
|
inline |
Definition at line 59 of file DIContext.h.
References Column, Discriminator, FileName, FunctionName, Line, RHS, StartFileName, and StartLine.
Definition at line 37 of file DIContext.h.
Referenced by llvm::symbolize::PlainPrinterBase::print(), and llvm::symbolize::PlainPrinterBase::printFunctionName().
Definition at line 33 of file DIContext.h.
Definition at line 35 of file DIContext.h.
Referenced by dump(), llvm::DWARFContext::getLineInfoForAddressRange(), llvm::symbolize::PlainPrinterBase::print(), llvm::symbolize::JSONPrinter::print(), llvm::symbolize::PlainPrinterBase::printFunctionName(), llvm::symbolize::SymbolizableObjectFile::symbolizeCode(), llvm::symbolize::SymbolizableObjectFile::symbolizeInlinedCode(), and llvm::symbolize::toJSON().
uint32_t llvm::DILineInfo::Column = 0 |
Definition at line 47 of file DIContext.h.
Referenced by dump(), llvm::DWARFContext::getInliningInfoForAddress(), llvm::pdb::PDBContext::getInliningInfoForAddress(), operator<(), operator==(), and llvm::symbolize::toJSON().
uint32_t llvm::DILineInfo::Discriminator = 0 |
Definition at line 52 of file DIContext.h.
Referenced by llvm::DWARFContext::getInliningInfoForAddress(), operator<(), operator==(), and llvm::symbolize::toJSON().
std::string llvm::DILineInfo::FileName |
Definition at line 38 of file DIContext.h.
Referenced by dump(), llvm::DWARFContext::getInliningInfoForAddress(), llvm::pdb::PDBContext::getInliningInfoForAddress(), operator<(), operator==(), llvm::symbolize::JSONPrinter::print(), llvm::symbolize::SymbolizableObjectFile::symbolizeCode(), llvm::symbolize::SymbolizableObjectFile::symbolizeInlinedCode(), and llvm::symbolize::toJSON().
std::string llvm::DILineInfo::FunctionName |
Definition at line 39 of file DIContext.h.
Referenced by dump(), llvm::DWARFContext::getInliningInfoForAddress(), llvm::pdb::PDBContext::getInliningInfoForAddress(), operator<(), operator==(), llvm::symbolize::SymbolizableObjectFile::symbolizeCode(), llvm::symbolize::SymbolizableObjectFile::symbolizeInlinedCode(), and llvm::symbolize::toJSON().
bool llvm::DILineInfo::IsApproximateLine = false |
Definition at line 54 of file DIContext.h.
Referenced by llvm::symbolize::toJSON().
uint32_t llvm::DILineInfo::Line = 0 |
Definition at line 46 of file DIContext.h.
Referenced by dump(), llvm::DWARFContext::getInliningInfoForAddress(), llvm::pdb::PDBContext::getInliningInfoForAddress(), operator<(), operator==(), llvm::symbolize::JSONPrinter::print(), and llvm::symbolize::toJSON().
std::optional<StringRef> llvm::DILineInfo::LineSource |
Definition at line 45 of file DIContext.h.
std::optional<StringRef> llvm::DILineInfo::Source |
Definition at line 42 of file DIContext.h.
Referenced by llvm::symbolize::JSONPrinter::print().
std::optional<uint64_t> llvm::DILineInfo::StartAddress |
Definition at line 49 of file DIContext.h.
Referenced by llvm::DWARFContext::getInliningInfoForAddress(), llvm::symbolize::SymbolizableObjectFile::symbolizeCode(), llvm::symbolize::SymbolizableObjectFile::symbolizeInlinedCode(), and llvm::symbolize::toJSON().
std::string llvm::DILineInfo::StartFileName |
Definition at line 40 of file DIContext.h.
Referenced by dump(), llvm::DWARFContext::getInliningInfoForAddress(), operator<(), operator==(), and llvm::symbolize::toJSON().
uint32_t llvm::DILineInfo::StartLine = 0 |
Definition at line 48 of file DIContext.h.
Referenced by dump(), llvm::DWARFContext::getInliningInfoForAddress(), operator<(), operator==(), and llvm::symbolize::toJSON().