LLVM 20.0.0git
|
Dumper for CodeView type streams found in COFF object files and PDB files. More...
#include "llvm/DebugInfo/CodeView/TypeDumpVisitor.h"
Dumper for CodeView type streams found in COFF object files and PDB files.
Definition at line 28 of file TypeDumpVisitor.h.
|
inline |
Definition at line 30 of file TypeDumpVisitor.h.
Definition at line 167 of file TypeDumpVisitor.cpp.
References llvm::codeview::printTypeIndex().
Definition at line 163 of file TypeDumpVisitor.cpp.
References llvm::codeview::printTypeIndex().
|
inline |
When dumping types from an IPI stream in a PDB, a type index may refer to a type or an item ID.
The dumper will lookup the "name" of the index in the item database if appropriate. If ItemDB is null, it will use TypeDB, which is correct when dumping types from an object file (/Z7).
Definition at line 38 of file TypeDumpVisitor.h.
|
overridevirtual |
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 194 of file TypeDumpVisitor.cpp.
References getLeafTypeName(), llvm::ScopedPrinter::getOStream(), llvm::ScopedPrinter::indent(), LeafTypeNames, llvm::ScopedPrinter::printEnum(), llvm::ScopedPrinter::startLine(), and llvm::Error::success().
|
overridevirtual |
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 202 of file TypeDumpVisitor.cpp.
References llvm::codeview::getBytesAsCharacters(), llvm::ScopedPrinter::printBinaryBlock(), llvm::ScopedPrinter::startLine(), llvm::Error::success(), and llvm::ScopedPrinter::unindent().
Paired begin/end actions for all types.
Receives all record data, including the fixed-length record prefix.
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 171 of file TypeDumpVisitor.cpp.
References llvm::codeview::TypeIndex::fromArrayIndex(), llvm::codeview::TypeCollection::size(), and visitTypeBegin().
Referenced by visitTypeBegin().
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 175 of file TypeDumpVisitor.cpp.
References getLeafTypeName(), llvm::ScopedPrinter::getOStream(), llvm::ScopedPrinter::indent(), LeafTypeNames, llvm::ScopedPrinter::printEnum(), llvm::ScopedPrinter::startLine(), and llvm::Error::success().
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 185 of file TypeDumpVisitor.cpp.
References llvm::codeview::getBytesAsCharacters(), llvm::ScopedPrinter::printBinaryBlock(), llvm::ScopedPrinter::startLine(), llvm::Error::success(), and llvm::ScopedPrinter::unindent().
|
overridevirtual |
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 454 of file TypeDumpVisitor.cpp.
References llvm::ScopedPrinter::printHex(), and llvm::Error::success().
Action to take on unknown types. By default, they are ignored.
Reimplemented from llvm::codeview::TypeVisitorCallbacks.
Definition at line 459 of file TypeDumpVisitor.cpp.
References LeafTypeNames, llvm::ScopedPrinter::printEnum(), llvm::ScopedPrinter::printNumber(), and llvm::Error::success().