|
LLVM 24.0.0git
|
#include "llvm/DebugInfo/LogicalView/Readers/LVCodeViewVisitor.h"
Public Attributes | |
| LVElement * | CurrentElement = nullptr |
| LVScope * | CurrentScope = nullptr |
| LVSymbol * | CurrentSymbol = nullptr |
| LVType * | CurrentType = nullptr |
Definition at line 238 of file LVCodeViewVisitor.h.
| LVLogicalVisitor::LVLogicalVisitor | ( | LVCodeViewReader * | Reader, |
| ScopedPrinter & | W, | ||
| llvm::pdb::InputFile & | Input ) |
Definition at line 1776 of file LVCodeViewVisitor.cpp.
Definition at line 3001 of file LVCodeViewVisitor.cpp.
References llvm::logicalview::IsCompileUnit, popScope(), and pushScope().
Referenced by visitKnownMember(), visitKnownMember(), visitKnownMember(), and visitKnownMember().
| void LVLogicalVisitor::addElement | ( | LVSymbol * | Symbol | ) |
Definition at line 3016 of file LVCodeViewVisitor.cpp.
| void LVLogicalVisitor::addElement | ( | LVType * | Type | ) |
Definition at line 3020 of file LVCodeViewVisitor.cpp.
|
inline |
Definition at line 308 of file LVCodeViewVisitor.h.
References llvm::logicalview::Filename.
|
inline |
Definition at line 338 of file LVCodeViewVisitor.h.
References popScope().
| LVElement * LVLogicalVisitor::createElement | ( | SymbolKind | Kind | ) |
Definition at line 3109 of file LVCodeViewVisitor.cpp.
References CurrentScope, CurrentSymbol, CurrentType, and llvm::logicalview::Kind.
| LVElement * LVLogicalVisitor::createElement | ( | TypeIndex | TI, |
| TypeLeafKind | Kind ) |
Definition at line 3177 of file LVCodeViewVisitor.cpp.
References createElement(), llvm::codeview::TypeIndex::FirstNonSimpleIndex, llvm::pdb::formatTypeLeafKind(), llvm::codeview::TypeIndex::getIndex(), llvm::logicalview::Kind, printTypeIndex(), llvm::logicalview::LVObject::setOffset(), and llvm::pdb::StreamTPI.
| LVElement * LVLogicalVisitor::createElement | ( | TypeLeafKind | Kind | ) |
Definition at line 3024 of file LVCodeViewVisitor.cpp.
References CurrentScope, CurrentSymbol, CurrentType, llvm::codeview::TypeIndex::FirstNonSimpleIndex, llvm::logicalview::Kind, and llvm::logicalview::options().
Referenced by createElement(), visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), and visitKnownMember().
Definition at line 2955 of file LVCodeViewVisitor.cpp.
References llvm::Error::success(), and visitUnknownType().
Referenced by getElement(), visitKnownMember(), visitKnownMember(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), and visitKnownRecord().
|
inline |
Definition at line 350 of file LVCodeViewVisitor.h.
| LVElement * LVLogicalVisitor::getElement | ( | uint32_t | StreamIdx, |
| TypeIndex | TI, | ||
| LVScope * | Parent = nullptr ) |
Definition at line 3363 of file LVCodeViewVisitor.cpp.
References llvm::logicalview::LVScope::addElement(), llvm::consumeError(), finishVisitation(), llvm::codeview::TypeIndex::getIndex(), llvm::codeview::TypeIndex::isNoneType(), llvm::codeview::TypeIndex::isSimple(), LLVM_DEBUG, printTypeIndex(), llvm::codeview::TypeIndex::simpleTypeName(), llvm::pdb::StreamTPI, and llvm::logicalview::Types.
Referenced by visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), and visitKnownRecord().
|
inline |
Definition at line 359 of file LVCodeViewVisitor.h.
|
inline |
Definition at line 357 of file LVCodeViewVisitor.h.
| Error LVLogicalVisitor::inlineSiteAnnotation | ( | LVScope * | AbstractFunction, |
| LVScope * | InlinedFunction, | ||
| InlineSiteSym & | InlineSite ) |
Definition at line 3470 of file LVCodeViewVisitor.cpp.
References llvm::logicalview::LVScope::addObject(), llvm::codeview::ChangeCodeLength, llvm::codeview::ChangeCodeLengthAndCodeOffset, llvm::codeview::ChangeCodeOffset, llvm::codeview::ChangeCodeOffsetAndLineOffset, llvm::codeview::ChangeFile, llvm::codeview::ChangeLineOffset, llvm::codeview::CodeOffset, llvm::dbgs(), llvm::logicalview::Filename, llvm::fmt_align(), llvm::formatv(), llvm::logicalview::LVElement::getName(), llvm::logicalview::LVObject::getParentScope(), llvm::logicalview::LVScope::getRanges(), llvm::logicalview::hexValue(), llvm::codeview::InlineeLines, llvm::Left, LLVM_DEBUG, llvm::logicalview::Locations, llvm::logicalview::Offset, llvm::logicalview::options(), llvm::logicalview::LVObject::setLineNumber(), llvm::Error::success(), llvm::toHex(), and llvm::utohexstr().
|
inline |
Definition at line 333 of file LVCodeViewVisitor.h.
Referenced by addElement(), and closeScope().
| LLVM_ABI void llvm::logicalview::LVLogicalVisitor::printMemberAttributes | ( | MemberAccess | Access, |
| MethodKind | Kind, | ||
| MethodOptions | Options ) |
References Access, llvm::logicalview::Kind, LLVM_ABI, and Options.
| LLVM_ABI void llvm::logicalview::LVLogicalVisitor::printMemberAttributes | ( | MemberAttributes | Attrs | ) |
References LLVM_ABI.
| void LVLogicalVisitor::printMemberBegin | ( | CVMemberRecord & | Record, |
| TypeIndex | TI, | ||
| LVElement * | Element, | ||
| uint32_t | StreamIdx ) |
Definition at line 1808 of file LVCodeViewVisitor.cpp.
References llvm::pdb::formatTypeLeafKind(), llvm::codeview::TypeIndex::getIndex(), llvm::logicalview::LVElement::getName(), llvm::logicalview::LVObject::getOffset(), llvm::codeview::getTypeLeafNames(), and printTypeIndex().
Referenced by visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), and visitKnownMember().
| void LVLogicalVisitor::printMemberEnd | ( | CVMemberRecord & | Record | ) |
Definition at line 1822 of file LVCodeViewVisitor.cpp.
Referenced by visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), and visitKnownMember().
| void LVLogicalVisitor::printRecords | ( | raw_ostream & | OS | ) | const |
Definition at line 3440 of file LVCodeViewVisitor.cpp.
References llvm::Count, llvm::pdb::formatTypeLeafKind(), llvm::formatv(), llvm::logicalview::LVCodeViewReader::getSymbolKindName(), llvm::logicalview::Kind, llvm::logicalview::Name, and llvm::logicalview::options().
| void LVLogicalVisitor::printTypeBegin | ( | CVType & | Record, |
| TypeIndex | TI, | ||
| LVElement * | Element, | ||
| uint32_t | StreamIdx ) |
Definition at line 1790 of file LVCodeViewVisitor.cpp.
References llvm::pdb::formatTypeLeafKind(), llvm::codeview::TypeIndex::getIndex(), llvm::logicalview::LVElement::getName(), llvm::logicalview::LVObject::getOffset(), llvm::codeview::getTypeLeafNames(), and printTypeIndex().
Referenced by visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), and visitKnownRecord().
| void LVLogicalVisitor::printTypeEnd | ( | CVType & | Record | ) |
Definition at line 1803 of file LVCodeViewVisitor.cpp.
Referenced by visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), and visitKnownRecord().
Definition at line 1784 of file LVCodeViewVisitor.cpp.
References llvm::codeview::printTypeIndex(), and llvm::pdb::StreamTPI.
Referenced by createElement(), getElement(), printMemberBegin(), printTypeBegin(), processLines(), visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownMember(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), visitKnownRecord(), and visitUnknownType().
| void LVLogicalVisitor::processFiles | ( | ) |
Definition at line 3438 of file LVCodeViewVisitor.cpp.
| void LVLogicalVisitor::processLines | ( | ) |
Definition at line 3404 of file LVCodeViewVisitor.cpp.
References llvm::consumeError(), llvm::codeview::TypeDeserializer::deserializeAs(), LLVM_DEBUG, printTypeIndex(), llvm::logicalview::LVElement::setFilenameIndex(), llvm::logicalview::LVObject::setLineNumber(), llvm::pdb::StreamIPI, and llvm::pdb::StreamTPI.
| void LVLogicalVisitor::processNamespaces | ( | ) |
Definition at line 3433 of file LVCodeViewVisitor.cpp.
|
inline |
Definition at line 328 of file LVCodeViewVisitor.h.
Referenced by addElement().
|
inline |
Definition at line 351 of file LVCodeViewVisitor.h.
References llvm::logicalview::Name.
|
inline |
Definition at line 304 of file LVCodeViewVisitor.h.
|
inline |
Definition at line 301 of file LVCodeViewVisitor.h.
|
inline |
Definition at line 344 of file LVCodeViewVisitor.h.
|
inline |
Definition at line 368 of file LVCodeViewVisitor.h.
|
inline |
Definition at line 369 of file LVCodeViewVisitor.h.
| Error LVLogicalVisitor::visitKnownMember | ( | CVMemberRecord & | Record, |
| BaseClassRecord & | Base, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2680 of file LVCodeViewVisitor.cpp.
References addElement(), llvm::logicalview::Base, llvm::pdb::BaseClass, createElement(), CurrentSymbol, getElement(), LLVM_DEBUG, printMemberBegin(), printMemberEnd(), printTypeIndex(), llvm::pdb::StreamTPI, and llvm::Error::success().
Referenced by visitKnownMember(), and visitKnownRecord().
| Error LVLogicalVisitor::visitKnownMember | ( | CVMemberRecord & | Record, |
| DataMemberRecord & | Field, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2703 of file LVCodeViewVisitor.cpp.
References LLVM_DEBUG, printMemberBegin(), printMemberEnd(), printTypeIndex(), llvm::pdb::StreamTPI, and llvm::Error::success().
| Error LVLogicalVisitor::visitKnownMember | ( | CVMemberRecord & | Record, |
| EnumeratorRecord & | Enum, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2721 of file LVCodeViewVisitor.cpp.
References addElement(), createElement(), CurrentType, llvm::pdb::Enum, LLVM_DEBUG, printMemberBegin(), printMemberEnd(), llvm::pdb::StreamTPI, and llvm::Error::success().
| Error LVLogicalVisitor::visitKnownMember | ( | CVMemberRecord & | Record, |
| ListContinuationRecord & | Cont, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2744 of file LVCodeViewVisitor.cpp.
References llvm::codeview::ListContinuationRecord::getContinuationIndex(), LLVM_DEBUG, printMemberBegin(), printMemberEnd(), printTypeIndex(), llvm::pdb::StreamTPI, and llvm::Error::success().
| Error LVLogicalVisitor::visitKnownMember | ( | CVMemberRecord & | Record, |
| NestedTypeRecord & | Nested, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2756 of file LVCodeViewVisitor.cpp.
References llvm::logicalview::LVScope::addElement(), createElement(), getElement(), llvm::logicalview::getInnerComponent(), llvm::logicalview::LVElement::getName(), llvm::logicalview::getRecordName(), LLVM_DEBUG, llvm::codeview::Nested, printMemberBegin(), printMemberEnd(), printTypeIndex(), llvm::StringRef::size(), llvm::pdb::StreamTPI, llvm::Error::success(), llvm::pdb::Typedef, and llvm::logicalview::LVElement::updateLevel().
| Error LVLogicalVisitor::visitKnownMember | ( | CVMemberRecord & | Record, |
| OneMethodRecord & | Method, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2801 of file LVCodeViewVisitor.cpp.
References addElement(), llvm::codeview::CompilerGenerated, createElement(), finishVisitation(), llvm::logicalview::Kind, LLVM_DEBUG, printMemberBegin(), printMemberEnd(), printTypeIndex(), llvm::logicalview::LVElement::setName(), llvm::codeview::Static, llvm::pdb::StreamTPI, llvm::Error::success(), and llvm::logicalview::Types.
| Error LVLogicalVisitor::visitKnownMember | ( | CVMemberRecord & | Record, |
| OverloadedMethodRecord & | Method, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2847 of file LVCodeViewVisitor.cpp.
References finishVisitation(), LLVM_DEBUG, printMemberBegin(), printMemberEnd(), printTypeIndex(), llvm::pdb::StreamTPI, llvm::Error::success(), and llvm::logicalview::Types.
| Error LVLogicalVisitor::visitKnownMember | ( | CVMemberRecord & | Record, |
| StaticDataMemberRecord & | Field, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2870 of file LVCodeViewVisitor.cpp.
References LLVM_DEBUG, printMemberBegin(), printMemberEnd(), printTypeIndex(), llvm::pdb::StreamTPI, and llvm::Error::success().
|
inline |
Definition at line 463 of file LVCodeViewVisitor.h.
References llvm::Error::success(), T, and visitKnownMember().
| Error LVLogicalVisitor::visitKnownMember | ( | CVMemberRecord & | Record, |
| VFPtrRecord & | VFTable, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2887 of file LVCodeViewVisitor.cpp.
References llvm::codeview::VFPtrRecord::getType(), LLVM_DEBUG, printMemberBegin(), printMemberEnd(), printTypeIndex(), llvm::pdb::StreamTPI, and llvm::Error::success().
| Error LVLogicalVisitor::visitKnownMember | ( | CVMemberRecord & | Record, |
| VirtualBaseClassRecord & | Base, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2899 of file LVCodeViewVisitor.cpp.
References addElement(), llvm::logicalview::Base, llvm::pdb::BaseClass, createElement(), CurrentSymbol, getElement(), LLVM_DEBUG, printMemberBegin(), printMemberEnd(), printTypeIndex(), llvm::pdb::StreamTPI, llvm::Error::success(), and llvm::codeview::Virtual.
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| ArgListRecord & | Args, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 1836 of file LVCodeViewVisitor.cpp.
References Arguments, llvm::codeview::Function, I, LLVM_DEBUG, printTypeBegin(), printTypeEnd(), printTypeIndex(), llvm::logicalview::Size, llvm::ArrayRef< T >::size(), llvm::pdb::StreamTPI, and llvm::Error::success().
Referenced by visitKnownRecord().
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| ArrayRecord & | AT, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 1859 of file LVCodeViewVisitor.cpp.
References llvm::consumeError(), llvm::Count, llvm::codeview::TypeDeserializer::deserializeAs(), finishVisitation(), llvm::logicalview::LVElement::getCount(), getElement(), llvm::codeview::ArrayRecord::getElementType(), llvm::codeview::TypeIndex::getIndex(), llvm::codeview::ArrayRecord::getIndexType(), llvm::codeview::getModifiedType(), llvm::codeview::ArrayRecord::getName(), llvm::codeview::TypeIndex::getSimpleKind(), llvm::codeview::ArrayRecord::getSize(), llvm::codeview::getSizeInBytesForTypeIndex(), llvm::codeview::getSizeInBytesForTypeRecord(), llvm::logicalview::getTrueType(), llvm::codeview::isAggregate(), llvm::codeview::TypeIndex::isSimple(), llvm::codeview::CVRecord< Kind >::kind(), LLVM_DEBUG, printTypeBegin(), printTypeEnd(), printTypeIndex(), llvm::logicalview::LVElement::setCount(), llvm::Record::setName(), llvm::logicalview::Size, llvm::pdb::StreamTPI, llvm::logicalview::Subrange, llvm::Error::success(), and llvm::logicalview::Types.
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| BitFieldRecord & | BF, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 1977 of file LVCodeViewVisitor.cpp.
References llvm::codeview::BitFieldRecord::getBitOffset(), llvm::codeview::BitFieldRecord::getBitSize(), getElement(), llvm::codeview::BitFieldRecord::getType(), LLVM_DEBUG, printTypeBegin(), printTypeEnd(), printTypeIndex(), llvm::logicalview::LVElement::setBitSize(), llvm::logicalview::LVElement::setType(), llvm::pdb::StreamTPI, and llvm::Error::success().
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| BuildInfoRecord & | BI, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 1993 of file LVCodeViewVisitor.cpp.
References Arguments, llvm::codeview::BuildInfoRecord::getArgs(), llvm::getTypeName(), LLVM_DEBUG, llvm::logicalview::Name, printTypeBegin(), printTypeEnd(), printTypeIndex(), llvm::logicalview::LVElement::setName(), llvm::codeview::BuildInfoRecord::SourceFile, llvm::pdb::StreamIPI, and llvm::Error::success().
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| ClassRecord & | Class, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2017 of file LVCodeViewVisitor.cpp.
References llvm::pdb::Class, llvm::codeview::TypeDeserializer::deserializeAs(), llvm::logicalview::DWARF_CHAR_BIT, finishVisitation(), llvm::codeview::TagRecord::getFieldList(), llvm::codeview::TypeIndex::isNoneType(), llvm::codeview::CVRecord< Kind >::kind(), LLVM_DEBUG, printTypeBegin(), printTypeEnd(), printTypeIndex(), llvm::pdb::StreamTPI, llvm::Error::success(), and llvm::logicalview::Types.
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| EndPrecompRecord & | EndPrecomp, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2662 of file LVCodeViewVisitor.cpp.
References llvm::codeview::EndPrecompRecord::getSignature(), LLVM_DEBUG, printTypeBegin(), printTypeEnd(), llvm::pdb::StreamTPI, and llvm::Error::success().
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| EnumRecord & | Enum, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2088 of file LVCodeViewVisitor.cpp.
References llvm::pdb::Enum, finishVisitation(), getElement(), llvm::codeview::TypeIndex::isNoneType(), LLVM_DEBUG, printTypeBegin(), printTypeEnd(), printTypeIndex(), llvm::pdb::StreamTPI, llvm::Error::success(), and llvm::logicalview::Types.
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| FieldListRecord & | FieldList, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2145 of file LVCodeViewVisitor.cpp.
References llvm::codeview::FieldList, LLVM_DEBUG, printTypeBegin(), printTypeEnd(), llvm::pdb::StreamTPI, and llvm::Error::success().
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| FuncIdRecord & | Func, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2160 of file LVCodeViewVisitor.cpp.
References finishVisitation(), llvm::codeview::TypeIndex::isNoneType(), LLVM_DEBUG, printTypeBegin(), printTypeEnd(), printTypeIndex(), llvm::pdb::StreamIPI, llvm::pdb::StreamTPI, llvm::Error::success(), and llvm::logicalview::Types.
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| LabelRecord & | LR, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2205 of file LVCodeViewVisitor.cpp.
References LLVM_DEBUG, printTypeBegin(), printTypeEnd(), llvm::pdb::StreamTPI, and llvm::Error::success().
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| MemberFuncIdRecord & | Id, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2215 of file LVCodeViewVisitor.cpp.
References llvm::pdb::Class, finishVisitation(), LLVM_DEBUG, printTypeBegin(), printTypeEnd(), printTypeIndex(), llvm::pdb::StreamIPI, llvm::pdb::StreamTPI, and llvm::Error::success().
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| MemberFunctionRecord & | MF, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2246 of file LVCodeViewVisitor.cpp.
References llvm::pdb::Class, finishVisitation(), llvm::codeview::MemberFunctionRecord::getArgumentList(), llvm::codeview::MemberFunctionRecord::getClassType(), getElement(), llvm::codeview::TypeIndex::getIndex(), llvm::codeview::MemberFunctionRecord::getParameterCount(), llvm::codeview::MemberFunctionRecord::getReturnType(), llvm::codeview::MemberFunctionRecord::getThisPointerAdjustment(), llvm::codeview::MemberFunctionRecord::getThisType(), LLVM_DEBUG, printTypeBegin(), printTypeEnd(), printTypeIndex(), llvm::logicalview::LVElement::setType(), llvm::pdb::StreamTPI, llvm::Error::success(), llvm::codeview::This, and llvm::logicalview::Types.
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| MethodOverloadListRecord & | Overloads, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2293 of file LVCodeViewVisitor.cpp.
References LLVM_DEBUG, llvm::codeview::MethodOverloadListRecord::Methods, printTypeBegin(), printTypeEnd(), llvm::pdb::StreamTPI, llvm::Error::success(), and visitKnownMember().
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| ModifierRecord & | Mod, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2313 of file LVCodeViewVisitor.cpp.
References llvm::codeview::Const, llvm::dwarf::DW_TAG_unaligned, getElement(), llvm::logicalview::LVObject::getParentScope(), LLVM_DEBUG, llvm::Mod, printTypeBegin(), printTypeEnd(), printTypeIndex(), llvm::logicalview::LVElement::setName(), llvm::logicalview::LVObject::setTag(), llvm::logicalview::LVElement::setType(), llvm::pdb::StreamTPI, llvm::Error::success(), llvm::codeview::Unaligned, and llvm::codeview::Volatile.
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| PointerRecord & | Ptr, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2374 of file LVCodeViewVisitor.cpp.
References getElement(), llvm::codeview::PointerRecord::getMemberInfo(), llvm::codeview::PointerRecord::getMode(), llvm::logicalview::LVObject::getParentScope(), llvm::codeview::PointerRecord::getReferentType(), llvm::codeview::PointerRecord::getSize(), llvm::codeview::PointerRecord::isConst(), llvm::codeview::PointerRecord::isFlat(), llvm::codeview::PointerRecord::isLValueReferenceThisPtr(), llvm::codeview::PointerRecord::isPointerToMember(), llvm::codeview::PointerRecord::isRestrict(), llvm::codeview::PointerRecord::isRValueReferenceThisPtr(), llvm::codeview::PointerRecord::isUnaligned(), llvm::codeview::PointerRecord::isVolatile(), LLVM_DEBUG, llvm::codeview::LValueReference, MI, llvm::codeview::Pointer, printTypeBegin(), printTypeEnd(), printTypeIndex(), llvm::codeview::Restrict, llvm::codeview::RValueReference, llvm::logicalview::LVElement::setName(), llvm::logicalview::LVObject::setTag(), llvm::logicalview::LVElement::setType(), llvm::pdb::StreamTPI, and llvm::Error::success().
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| PrecompRecord & | Precomp, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2648 of file LVCodeViewVisitor.cpp.
References llvm::codeview::PrecompRecord::getPrecompFilePath(), llvm::codeview::PrecompRecord::getSignature(), llvm::codeview::PrecompRecord::getStartTypeIndex(), llvm::codeview::PrecompRecord::getTypesCount(), LLVM_DEBUG, printTypeBegin(), printTypeEnd(), llvm::pdb::StreamTPI, and llvm::Error::success().
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| ProcedureRecord & | Proc, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2457 of file LVCodeViewVisitor.cpp.
References finishVisitation(), llvm::codeview::ProcedureRecord::getArgumentList(), getElement(), llvm::codeview::ProcedureRecord::getParameterCount(), llvm::codeview::ProcedureRecord::getReturnType(), LLVM_DEBUG, printTypeBegin(), printTypeEnd(), printTypeIndex(), llvm::pdb::StreamTPI, llvm::Error::success(), and llvm::logicalview::Types.
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| StringIdRecord & | String, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2595 of file LVCodeViewVisitor.cpp.
References llvm::logicalview::LVObject::getParentScope(), LLVM_DEBUG, printTypeIndex(), llvm::pdb::StreamIPI, llvm::String, and llvm::Error::success().
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| StringListRecord & | Strings, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2577 of file LVCodeViewVisitor.cpp.
References Arguments, llvm::codeview::StringListRecord::getIndices(), I, LLVM_DEBUG, printTypeBegin(), printTypeEnd(), printTypeIndex(), llvm::logicalview::Size, llvm::ArrayRef< T >::size(), llvm::pdb::StreamIPI, and llvm::Error::success().
|
inline |
Definition at line 476 of file LVCodeViewVisitor.h.
References llvm::codeview::TypeDeserializer::deserializeAs(), llvm::Error::success(), T, and visitKnownRecord().
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| TypeServer2Record & | TS, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2536 of file LVCodeViewVisitor.cpp.
References llvm::formatv(), llvm::codeview::TypeServer2Record::getAge(), llvm::codeview::TypeServer2Record::getGuid(), llvm::codeview::TypeServer2Record::getName(), LLVM_DEBUG, printTypeBegin(), printTypeEnd(), llvm::pdb::StreamTPI, and llvm::Error::success().
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| UdtModSourceLineRecord & | ModSourceLine, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2631 of file LVCodeViewVisitor.cpp.
References llvm::codeview::UdtModSourceLineRecord::getLineNumber(), llvm::codeview::UdtModSourceLineRecord::getModule(), llvm::codeview::UdtModSourceLineRecord::getSourceFile(), llvm::codeview::UdtModSourceLineRecord::getUDT(), LLVM_DEBUG, printTypeBegin(), printTypeEnd(), printTypeIndex(), llvm::pdb::StreamIPI, and llvm::Error::success().
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| UdtSourceLineRecord & | SourceLine, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2617 of file LVCodeViewVisitor.cpp.
References llvm::codeview::UdtSourceLineRecord::getLineNumber(), llvm::codeview::UdtSourceLineRecord::getSourceFile(), llvm::codeview::UdtSourceLineRecord::getUDT(), LLVM_DEBUG, printTypeIndex(), llvm::pdb::StreamIPI, and llvm::Error::success().
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| UnionRecord & | Union, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2488 of file LVCodeViewVisitor.cpp.
References llvm::logicalview::DWARF_CHAR_BIT, finishVisitation(), LLVM_DEBUG, printTypeBegin(), printTypeEnd(), printTypeIndex(), llvm::pdb::StreamTPI, llvm::Error::success(), llvm::logicalview::Types, and llvm::pdb::Union.
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| VFTableRecord & | VFT, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2549 of file LVCodeViewVisitor.cpp.
References llvm::codeview::VFTableRecord::getCompleteClass(), llvm::codeview::VFTableRecord::getMethodNames(), llvm::codeview::VFTableRecord::getName(), llvm::codeview::VFTableRecord::getOverriddenVTable(), llvm::codeview::VFTableRecord::getVFPtrOffset(), LLVM_DEBUG, N, printTypeBegin(), printTypeEnd(), printTypeIndex(), llvm::pdb::StreamTPI, and llvm::Error::success().
| Error LVLogicalVisitor::visitKnownRecord | ( | CVType & | Record, |
| VFTableShapeRecord & | Shape, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
Definition at line 2565 of file LVCodeViewVisitor.cpp.
References llvm::codeview::VFTableShapeRecord::getEntryCount(), LLVM_DEBUG, printTypeBegin(), printTypeEnd(), llvm::pdb::StreamTPI, and llvm::Error::success().
| Error LVLogicalVisitor::visitMemberRecord | ( | CVMemberRecord & | Record, |
| TypeVisitorCallbacks & | Callbacks, | ||
| TypeIndex | TI, | ||
| LVElement * | Element ) |
| Error LVLogicalVisitor::visitUnknownMember | ( | CVMemberRecord & | Record, |
| TypeIndex | TI ) |
Definition at line 2673 of file LVCodeViewVisitor.cpp.
References LLVM_DEBUG, and llvm::Error::success().
Definition at line 1827 of file LVCodeViewVisitor.cpp.
References LLVM_DEBUG, printTypeIndex(), llvm::pdb::StreamTPI, and llvm::Error::success().
Referenced by finishVisitation().
| LVElement* llvm::logicalview::LVLogicalVisitor::CurrentElement = nullptr |
Definition at line 295 of file LVCodeViewVisitor.h.
| LVScope* llvm::logicalview::LVLogicalVisitor::CurrentScope = nullptr |
Definition at line 296 of file LVCodeViewVisitor.h.
Referenced by createElement(), and createElement().
| LVSymbol* llvm::logicalview::LVLogicalVisitor::CurrentSymbol = nullptr |
Definition at line 297 of file LVCodeViewVisitor.h.
Referenced by createElement(), createElement(), visitKnownMember(), and visitKnownMember().
| LVType* llvm::logicalview::LVLogicalVisitor::CurrentType = nullptr |
Definition at line 298 of file LVCodeViewVisitor.h.
Referenced by createElement(), createElement(), and visitKnownMember().