LLVM 20.0.0git
|
#include "llvm/DebugInfo/PDB/Native/LinePrinter.h"
Friends | |
class | WithColor |
Definition at line 50 of file LinePrinter.h.
LinePrinter::LinePrinter | ( | int | Indent, |
bool | UseColor, | ||
llvm::raw_ostream & | Stream, | ||
const FilterOptions & | Filters | ||
) |
Definition at line 55 of file LinePrinter.cpp.
References FilterOptions::ExcludeCompilands, FilterOptions::ExcludeSymbols, FilterOptions::ExcludeTypes, FilterOptions::IncludeCompilands, FilterOptions::IncludeSymbols, and FilterOptions::IncludeTypes.
|
inline |
Definition at line 66 of file LinePrinter.h.
References llvm::formatv(), and print().
void LinePrinter::formatBinary | ( | StringRef | Label, |
ArrayRef< uint8_t > | Data, | ||
uint64_t | BaseAddr, | ||
uint64_t | StartOffset | ||
) |
Definition at line 119 of file LinePrinter.cpp.
References llvm::sampleprof::Base, llvm::pdb::Data, llvm::format_bytes_with_ascii(), llvm::pdb::Label, and NewLine().
Definition at line 106 of file LinePrinter.cpp.
References llvm::pdb::Data, llvm::format_bytes_with_ascii(), llvm::pdb::Label, and NewLine().
|
inline |
Definition at line 63 of file LinePrinter.h.
References llvm::formatv(), and printLine().
Referenced by formatMsfStreamData(), and llvm::pdb::iterateOneModule().
void LinePrinter::formatMsfStreamBlocks | ( | PDBFile & | File, |
const msf::MSFStreamLayout & | Stream | ||
) |
Definition at line 251 of file LinePrinter.cpp.
References assert(), llvm::msf::MSFStreamLayout::Blocks, Blocks, llvm::cantFail(), llvm::format_bytes_with_ascii(), llvm::formatv(), llvm::msf::MSFStreamLayout::Length, and NewLine().
void LinePrinter::formatMsfStreamData | ( | StringRef | Label, |
PDBFile & | File, | ||
const msf::MSFStreamLayout & | Stream, | ||
BinarySubstreamRef | Substream | ||
) |
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.
void LinePrinter::formatMsfStreamData | ( | StringRef | Label, |
PDBFile & | File, | ||
uint32_t | StreamIdx, | ||
StringRef | StreamPurpose, | ||
uint64_t | Offset, | ||
uint64_t | Size | ||
) |
Definition at line 179 of file LinePrinter.cpp.
References llvm::BinaryStreamRefBase< RefType, StreamType >::drop_front(), End, formatLine(), formatMsfStreamData(), Indent(), llvm::BinaryStreamRefBase< RefType, StreamType >::keep_front(), llvm::pdb::Label, NewLine(), llvm::pdb::Offset, llvm::BinarySubstreamRef::Offset, Size, and llvm::BinarySubstreamRef::StreamData.
Referenced by formatMsfStreamData().
|
inline |
Definition at line 92 of file LinePrinter.h.
Referenced by llvm::pdb::iterateSymbolGroups().
|
inline |
Definition at line 85 of file LinePrinter.h.
|
inline |
Definition at line 84 of file LinePrinter.h.
References OS.
|
inline |
Definition at line 83 of file LinePrinter.h.
References UseColor.
void LinePrinter::Indent | ( | uint32_t | Amount = 0 | ) |
Definition at line 74 of file LinePrinter.cpp.
Referenced by llvm::pdb::AutoIndent::AutoIndent(), and formatMsfStreamData().
bool LinePrinter::IsClassExcluded | ( | const ClassLayout & | Class | ) |
Definition at line 98 of file LinePrinter.cpp.
References llvm::pdb::Class, IsTypeExcluded(), and FilterOptions::PaddingThreshold.
bool LinePrinter::IsCompilandExcluded | ( | llvm::StringRef | CompilandName | ) |
Definition at line 288 of file LinePrinter.cpp.
bool LinePrinter::IsSymbolExcluded | ( | llvm::StringRef | SymbolName | ) |
Definition at line 284 of file LinePrinter.cpp.
bool LinePrinter::IsTypeExcluded | ( | llvm::StringRef | TypeName, |
uint64_t | Size | ||
) |
Definition at line 276 of file LinePrinter.cpp.
References Size, and FilterOptions::SizeThreshold.
Referenced by IsClassExcluded().
void LinePrinter::NewLine | ( | ) |
Definition at line 86 of file LinePrinter.cpp.
References llvm::raw_ostream::indent().
Referenced by formatBinary(), formatMsfStreamBlocks(), formatMsfStreamData(), and printLine().
Definition at line 91 of file LinePrinter.cpp.
Referenced by format().
void LinePrinter::Unindent | ( | uint32_t | Amount = 0 | ) |
Definition at line 80 of file LinePrinter.cpp.
Referenced by llvm::pdb::AutoIndent::~AutoIndent().
|
friend |
Definition at line 51 of file LinePrinter.h.