LLVM: llvm::pdb::LinePrinter Class Reference (original) (raw)

#include "[llvm/DebugInfo/PDB/Native/LinePrinter.h](LinePrinter%5F8h%5Fsource.html)"

Public Member Functions
LLVM_ABI LinePrinter (int Indent, bool UseColor, raw_ostream &Stream, const FilterOptions &Filters)
LLVM_ABI void Indent (uint32_t Amount=0)
LLVM_ABI void Unindent (uint32_t Amount=0)
LLVM_ABI void NewLine ()
LLVM_ABI void printLine (const Twine &T)
LLVM_ABI void print (const Twine &T)
template<typename... Ts>
void formatLine (const char *Fmt, Ts &&...Items)
template<typename... Ts>
void format (const char *Fmt, Ts &&...Items)
LLVM_ABI void formatBinary (StringRef Label, ArrayRef< uint8_t > Data, uint64_t StartOffset)
LLVM_ABI void formatBinary (StringRef Label, ArrayRef< uint8_t > Data, uint64_t BaseAddr, uint64_t StartOffset)
LLVM_ABI void formatMsfStreamData (StringRef Label, PDBFile &File, uint32_t StreamIdx, StringRef StreamPurpose, uint64_t Offset, uint64_t Size)
LLVM_ABI void formatMsfStreamData (StringRef Label, PDBFile &File, const msf::MSFStreamLayout &Stream, BinarySubstreamRef Substream)
LLVM_ABI void formatMsfStreamBlocks (PDBFile &File, const msf::MSFStreamLayout &Stream)
bool hasColor () const
raw_ostream & getStream ()
int getIndentLevel () const
LLVM_ABI bool IsClassExcluded (const ClassLayout &Class)
LLVM_ABI bool IsTypeExcluded (llvm::StringRef TypeName, uint64_t Size)
LLVM_ABI bool IsSymbolExcluded (llvm::StringRef SymbolName)
LLVM_ABI bool IsCompilandExcluded (llvm::StringRef CompilandName)
const FilterOptions & getFilters () const

Definition at line 51 of file LinePrinter.h.

format()

template<typename... Ts>

void llvm::pdb::LinePrinter::format ( const char * Fmt, Ts &&... Items ) inline

formatBinary() [1/2]

formatBinary() [2/2]

formatLine()

template<typename... Ts>

void llvm::pdb::LinePrinter::formatLine ( const char * Fmt, Ts &&... Items ) inline

formatMsfStreamBlocks()

formatMsfStreamData() [1/2]

Definition at line 217 of file LinePrinter.cpp.

References assert(), llvm::sampleprof::Base, llvm::BinaryStreamReader::bytesRemaining(), llvm::Center, computeBlockRuns(), llvm::consumeError(), llvm::pdb::Data, findRun(), llvm::fmt_align(), llvm::format_bytes_with_ascii(), llvm::formatv(), llvm::pdb::Label, NewLine(), llvm::BinarySubstreamRef::Offset, llvm::BinaryStreamReader::readBytes(), and llvm::BinarySubstreamRef::StreamData.

formatMsfStreamData() [2/2]

Definition at line 179 of file LinePrinter.cpp.

References llvm::BinaryStreamRefBase< RefType, StreamType >::drop_front(), formatLine(), formatMsfStreamData(), Indent(), llvm::BinaryStreamRefBase< RefType, StreamType >::keep_front(), llvm::pdb::Label, NewLine(), llvm::BinarySubstreamRef::Offset, llvm::pdb::Offset, Size, and llvm::BinarySubstreamRef::StreamData.

Referenced by formatMsfStreamData().

getFilters()

getIndentLevel()

int llvm::pdb::LinePrinter::getIndentLevel ( ) const inline

getStream()

raw_ostream & llvm::pdb::LinePrinter::getStream ( ) inline

hasColor()

bool llvm::pdb::LinePrinter::hasColor ( ) const inline

Indent()

void LinePrinter::Indent ( uint32_t Amount = 0 )

IsClassExcluded()

IsCompilandExcluded()

IsSymbolExcluded()

IsTypeExcluded()

NewLine()

void LinePrinter::NewLine ( )

print()

printLine()

Unindent()

void LinePrinter::Unindent ( uint32_t Amount = 0 )

WithColor


The documentation for this class was generated from the following files: