LLVM  15.0.0git
Classes | Typedefs | Functions | Variables
llvm::symbolize Namespace Reference

Classes

class  CachedBinary
 
class  DIFetcher
 The DIFetcher interface provides arbitrary mechanisms for obtaining debug info from an outside source. More...
 
class  DIPrinter
 
class  GNUPrinter
 
class  JSONPrinter
 
class  LLVMPrinter
 
class  LLVMSymbolizer
 
class  LocalDIFetcher
 LocalDIFetcher searches local cache directories for debug info. More...
 
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 FunctionNameKind = DILineInfoSpecifier::FunctionNameKind
 
using FileLineInfoKind = DILineInfoSpecifier::FileLineInfoKind
 

Functions

Optional< ArrayRef< uint8_t > > getBuildID (const ELFObjectFileBase *Obj)
 
static std::string toHex (uint64_t V)
 
static json::Object toJSON (const Request &Request, StringRef ErrorMsg="")
 
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)
 

Variables

static const char SGRSyntaxStr [] = "\033\\[([0-1]|3[0-7])m"
 

Typedef Documentation

◆ FileLineInfoKind

Definition at line 46 of file Symbolize.h.

◆ FunctionNameKind

Definition at line 21 of file SymbolizableModule.h.

Function Documentation

◆ advanceTo()

static void llvm::symbolize::advanceTo ( StringRef Str,
StringRef::iterator  Pos 
)
static

◆ getBuildID()

Optional< ArrayRef< uint8_t > > llvm::symbolize::getBuildID ( const ELFObjectFileBase Obj)

Definition at line 332 of file Symbolize.cpp.

References llvm::dyn_cast(), llvm_unreachable, and llvm::RISCVFenceField::O.

◆ getBuildIDStr()

static StringRef llvm::symbolize::getBuildIDStr ( ArrayRef< uint8_t >  BuildID)
static

Definition at line 461 of file Symbolize.cpp.

◆ takeTo()

static StringRef llvm::symbolize::takeTo ( StringRef  Str,
StringRef::iterator  Pos 
)
static

Definition at line 31 of file Markup.cpp.

Referenced by llvm::symbolize::MarkupParser::nextNode().

◆ textNode()

static MarkupNode llvm::symbolize::textNode ( StringRef  Text)
static

Definition at line 142 of file Markup.cpp.

◆ toHex()

static std::string llvm::symbolize::toHex ( uint64_t  V)
static

◆ toJSON()

static json::Object llvm::symbolize::toJSON ( const Request Request,
StringRef  ErrorMsg = "" 
)
static

Variable Documentation

◆ SGRSyntaxStr

const char llvm::symbolize::SGRSyntaxStr[] = "\033\\[([0-1]|3[0-7])m"
static

Definition at line 26 of file Markup.cpp.