LLVM 20.0.0git
|
Classes | |
class | CachedBinary |
class | DIPrinter |
class | GNUPrinter |
class | JSONPrinter |
class | LLVMPrinter |
class | LLVMSymbolizer |
class | MarkupFilter |
Filter to convert parsed log symbolizer markup elements into human-readable text. More... | |
struct | MarkupNode |
A node of symbolizer markup. More... | |
class | MarkupParser |
Parses a log containing symbolizer markup into a sequence of nodes. More... | |
class | PlainPrinterBase |
struct | PrinterConfig |
struct | Request |
class | SourceCode |
class | SymbolizableModule |
class | SymbolizableObjectFile |
Typedefs | |
using | ErrorHandler = std::function< void(const ErrorInfoBase &, StringRef)> |
using | FunctionNameKind = DILineInfoSpecifier::FunctionNameKind |
using | FileLineInfoKind = DILineInfoSpecifier::FileLineInfoKind |
Functions | |
static std::string | toHex (uint64_t V) |
static json::Object | toJSON (const Request &Request, StringRef ErrorMsg="") |
static json::Object | toJSON (const DILineInfo &LineInfo) |
static StringRef | takeTo (StringRef Str, StringRef::iterator Pos) |
static void | advanceTo (StringRef &Str, StringRef::iterator Pos) |
static MarkupNode | textNode (StringRef Text) |
static StringRef | getBuildIDStr (ArrayRef< uint8_t > BuildID) |
static bool | useBTFContext (const ObjectFile &Obj) |
Variables | |
static const char | SGRSyntaxStr [] = "\033\\[([0-1]|3[0-7])m" |
using llvm::symbolize::ErrorHandler = typedef std::function<void(const ErrorInfoBase &, StringRef)> |
Definition at line 68 of file DIPrinter.h.
Definition at line 46 of file Symbolize.h.
Definition at line 21 of file SymbolizableModule.h.
|
static |
Definition at line 33 of file Markup.cpp.
Referenced by llvm::symbolize::MarkupParser::nextNode().
Definition at line 475 of file Symbolize.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::data(), and llvm::SmallVectorBase< Size_T >::size().
|
static |
Definition at line 30 of file Markup.cpp.
Referenced by llvm::symbolize::MarkupParser::nextNode().
|
static |
Definition at line 144 of file Markup.cpp.
|
static |
Definition at line 288 of file DIPrinter.cpp.
References llvm::Twine::utohexstr().
Referenced by llvm::symbolize::JSONPrinter::print(), and toJSON().
|
static |
Definition at line 303 of file DIPrinter.cpp.
References llvm::DILineInfo::BadString, llvm::DILineInfo::Column, llvm::DILineInfo::Discriminator, llvm::DILineInfo::FileName, llvm::DILineInfo::FunctionName, llvm::json::Object::insert(), llvm::DILineInfo::IsApproximateLine, llvm::DILineInfo::Line, llvm::DILineInfo::StartAddress, llvm::DILineInfo::StartFileName, llvm::DILineInfo::StartLine, and toHex().
|
static |
Definition at line 292 of file DIPrinter.cpp.
References llvm::symbolize::Request::Address, llvm::StringRef::empty(), llvm::symbolize::Request::ModuleName, llvm::StringRef::str(), llvm::symbolize::Request::Symbol, and toHex().
Referenced by llvm::symbolize::JSONPrinter::print(), and llvm::symbolize::JSONPrinter::printError().
|
static |
Definition at line 680 of file Symbolize.cpp.
References llvm::BTFParser::hasBTFSections(), llvm::object::ObjectFile::hasDebugInfo(), llvm::Triple::isBPF(), and llvm::object::ObjectFile::makeTriple().
Definition at line 25 of file Markup.cpp.