class LinePrinter
Declaration
class LinePrinter { /* full declaration omitted */ };
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:50
Member Variables
- private llvm::raw_ostream& OS
- private int IndentSpaces
- private int CurrentIndent
- private bool UseColor
- private const FilterOptions& Filters
- private std::list<Regex> ExcludeCompilandFilters
- private std::list<Regex> ExcludeTypeFilters
- private std::list<Regex> ExcludeSymbolFilters
- private std::list<Regex> IncludeCompilandFilters
- private std::list<Regex> IncludeTypeFilters
- private std::list<Regex> IncludeSymbolFilters
Method Overview
- public void Indent(uint32_t Amount = 0)
- public bool IsClassExcluded(const llvm::pdb::ClassLayout & Class)
- public bool IsCompilandExcluded(llvm::StringRef CompilandName)
- public bool IsSymbolExcluded(llvm::StringRef SymbolName)
- public bool IsTypeExcluded(llvm::StringRef TypeName, uint64_t Size)
- public LinePrinter(int Indent, bool UseColor, llvm::raw_ostream & Stream, const FilterOptions & Filters)
- public void NewLine()
- private template <typename Iter>void SetFilters(std::list<Regex> & List, Iter Begin, Iter End)
- public void Unindent(uint32_t Amount = 0)
- public template <typename... Ts>void format(const char * Fmt, Ts &&... Items)
- public void formatBinary(llvm::StringRef Label, ArrayRef<uint8_t> Data, uint64_t BaseAddr, uint64_t StartOffset)
- public void formatBinary(llvm::StringRef Label, ArrayRef<uint8_t> Data, uint64_t StartOffset)
- public template <typename... Ts>void formatLine(const char * Fmt, Ts &&... Items)
- public void formatMsfStreamBlocks(llvm::pdb::PDBFile & File, const msf::MSFStreamLayout & Stream)
- public void formatMsfStreamData(llvm::StringRef Label, llvm::pdb::PDBFile & File, uint32_t StreamIdx, llvm::StringRef StreamPurpose, uint64_t Offset, uint64_t Size)
- public void formatMsfStreamData(llvm::StringRef Label, llvm::pdb::PDBFile & File, const msf::MSFStreamLayout & Stream, llvm::BinarySubstreamRef Substream)
- public const FilterOptions & getFilters() const
- public int getIndentLevel() const
- public llvm::raw_ostream & getStream()
- public bool hasColor() const
- public void print(const llvm::Twine & T)
- public void printLine(const llvm::Twine & T)
Methods
¶void Indent(uint32_t Amount = 0)
void Indent(uint32_t Amount = 0)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:57
Parameters
- uint32_t Amount = 0
¶bool IsClassExcluded(
const llvm::pdb::ClassLayout& Class)
bool IsClassExcluded(
const llvm::pdb::ClassLayout& Class)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:87
Parameters
- const llvm::pdb::ClassLayout& Class
¶bool IsCompilandExcluded(
llvm::StringRef CompilandName)
bool IsCompilandExcluded(
llvm::StringRef CompilandName)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:90
Parameters
- llvm::StringRef CompilandName
¶bool IsSymbolExcluded(llvm::StringRef SymbolName)
bool IsSymbolExcluded(llvm::StringRef SymbolName)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:89
Parameters
- llvm::StringRef SymbolName
¶bool IsTypeExcluded(llvm::StringRef TypeName,
uint64_t Size)
bool IsTypeExcluded(llvm::StringRef TypeName,
uint64_t Size)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:88
Parameters
- llvm::StringRef TypeName
- uint64_t Size
¶LinePrinter(int Indent,
bool UseColor,
llvm::raw_ostream& Stream,
const FilterOptions& Filters)
LinePrinter(int Indent,
bool UseColor,
llvm::raw_ostream& Stream,
const FilterOptions& Filters)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:54
Parameters
- int Indent
- bool UseColor
- llvm::raw_ostream& Stream
- const FilterOptions& Filters
¶void NewLine()
void NewLine()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:59
¶template <typename Iter>
void SetFilters(std::list<Regex>& List,
Iter Begin,
Iter End)
template <typename Iter>
void SetFilters(std::list<Regex>& List,
Iter Begin,
Iter End)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:96
Templates
- Iter
Parameters
- std::list<Regex>& List
- Iter Begin
- Iter End
¶void Unindent(uint32_t Amount = 0)
void Unindent(uint32_t Amount = 0)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:58
Parameters
- uint32_t Amount = 0
¶template <typename... Ts>
void format(const char* Fmt, Ts&&... Items)
template <typename... Ts>
void format(const char* Fmt, Ts&&... Items)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:66
Templates
- Ts
Parameters
- const char* Fmt
- Ts&&... Items
¶void formatBinary(llvm::StringRef Label,
ArrayRef<uint8_t> Data,
uint64_t BaseAddr,
uint64_t StartOffset)
void formatBinary(llvm::StringRef Label,
ArrayRef<uint8_t> Data,
uint64_t BaseAddr,
uint64_t StartOffset)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:72
Parameters
- llvm::StringRef Label
- ArrayRef<uint8_t> Data
- uint64_t BaseAddr
- uint64_t StartOffset
¶void formatBinary(llvm::StringRef Label,
ArrayRef<uint8_t> Data,
uint64_t StartOffset)
void formatBinary(llvm::StringRef Label,
ArrayRef<uint8_t> Data,
uint64_t StartOffset)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:70
Parameters
- llvm::StringRef Label
- ArrayRef<uint8_t> Data
- uint64_t StartOffset
¶template <typename... Ts>
void formatLine(const char* Fmt, Ts&&... Items)
template <typename... Ts>
void formatLine(const char* Fmt, Ts&&... Items)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:63
Templates
- Ts
Parameters
- const char* Fmt
- Ts&&... Items
¶void formatMsfStreamBlocks(
llvm::pdb::PDBFile& File,
const msf::MSFStreamLayout& Stream)
void formatMsfStreamBlocks(
llvm::pdb::PDBFile& File,
const msf::MSFStreamLayout& Stream)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:81
Parameters
- llvm::pdb::PDBFile& File
- const msf::MSFStreamLayout& Stream
¶void formatMsfStreamData(
llvm::StringRef Label,
llvm::pdb::PDBFile& File,
uint32_t StreamIdx,
llvm::StringRef StreamPurpose,
uint64_t Offset,
uint64_t Size)
void formatMsfStreamData(
llvm::StringRef Label,
llvm::pdb::PDBFile& File,
uint32_t StreamIdx,
llvm::StringRef StreamPurpose,
uint64_t Offset,
uint64_t Size)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:75
Parameters
- llvm::StringRef Label
- llvm::pdb::PDBFile& File
- uint32_t StreamIdx
- llvm::StringRef StreamPurpose
- uint64_t Offset
- uint64_t Size
¶void formatMsfStreamData(
llvm::StringRef Label,
llvm::pdb::PDBFile& File,
const msf::MSFStreamLayout& Stream,
llvm::BinarySubstreamRef Substream)
void formatMsfStreamData(
llvm::StringRef Label,
llvm::pdb::PDBFile& File,
const msf::MSFStreamLayout& Stream,
llvm::BinarySubstreamRef Substream)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:78
Parameters
- llvm::StringRef Label
- llvm::pdb::PDBFile& File
- const msf::MSFStreamLayout& Stream
- llvm::BinarySubstreamRef Substream
¶const FilterOptions& getFilters() const
const FilterOptions& getFilters() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:92
¶int getIndentLevel() const
int getIndentLevel() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:85
¶llvm::raw_ostream& getStream()
llvm::raw_ostream& getStream()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:84
¶bool hasColor() const
bool hasColor() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:83
¶void print(const llvm::Twine& T)
void print(const llvm::Twine& T)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:62
Parameters
- const llvm::Twine& T
¶void printLine(const llvm::Twine& T)
void printLine(const llvm::Twine& T)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h:61
Parameters
- const llvm::Twine& T