LLVM 22.0.0git
|
#include "llvm/DebugInfo/PDB/Native/LinePrinter.h"
Friends | |
class | WithColor |
Definition at line 51 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 Indent().
|
inline |
Definition at line 67 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 64 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 llvm::ArrayRef(), assert(), llvm::msf::MSFStreamLayout::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(), 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().
|
inline |
Definition at line 94 of file LinePrinter.h.
Referenced by llvm::pdb::iterateSymbolGroups().
|
inline |
Definition at line 87 of file LinePrinter.h.
|
inline |
Definition at line 86 of file LinePrinter.h.
|
inline |
Definition at line 85 of file LinePrinter.h.
void LinePrinter::Indent | ( | uint32_t | Amount = 0 | ) |
Definition at line 74 of file LinePrinter.cpp.
Referenced by formatMsfStreamData(), LinePrinter(), and WithColor.
bool LinePrinter::IsClassExcluded | ( | const ClassLayout & | Class | ) |
Definition at line 98 of file LinePrinter.cpp.
References llvm::pdb::Class, and IsTypeExcluded().
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 ) |
void LinePrinter::NewLine | ( | ) |
Definition at line 86 of file LinePrinter.cpp.
Referenced by formatBinary(), formatBinary(), formatMsfStreamBlocks(), formatMsfStreamData(), formatMsfStreamData(), and printLine().
Definition at line 93 of file LinePrinter.cpp.
Referenced by formatLine().
void LinePrinter::Unindent | ( | uint32_t | Amount = 0 | ) |
Definition at line 80 of file LinePrinter.cpp.
|
friend |