LLVM 20.0.0git
|
#include "llvm/DebugInfo/LogicalView/Core/LVElement.h"
Static Public Member Functions | |
static LVElementDispatch & | getDispatch () |
Protected Member Functions | |
void | printFileIndex (raw_ostream &OS, bool Full=true) const override |
Protected Member Functions inherited from llvm::logicalview::LVObject | |
std::string | lineAsString (uint32_t LineNumber, LVHalf Discriminator, bool ShowZero) const |
std::string | referenceAsString (uint32_t LineNumber, bool Spaces) const |
virtual void | printFileIndex (raw_ostream &OS, bool Full=true) const |
Protected Attributes | |
LVElement * | ElementType = nullptr |
Definition at line 67 of file LVElement.h.
|
inline |
Definition at line 133 of file LVElement.h.
|
virtualdefault |
StringRef LVElement::accessibilityString | ( | uint32_t | Access = dwarf::DW_ACCESS_private | ) | const |
Definition at line 124 of file LVElement.cpp.
References llvm::dwarf::DW_ACCESS_private, llvm::dwarf::DW_ACCESS_protected, llvm::dwarf::DW_ACCESS_public, and getAccessibilityCode().
Referenced by llvm::logicalview::LVScopeFunction::printExtra(), llvm::logicalview::LVSymbol::printExtra(), and llvm::logicalview::LVTypeImport::printExtra().
std::string LVElement::discriminatorAsString | ( | ) | const |
Definition at line 59 of file LVElement.cpp.
References llvm::logicalview::Discriminator, getDiscriminator(), llvm::logicalview::options(), and llvm::String.
Referenced by llvm::logicalview::LVScopeFunction::printExtra().
Definition at line 475 of file LVElement.cpp.
References llvm::dbgs(), llvm::logicalview::LVObject::Element, equals(), llvm::logicalview::formattedKind(), llvm::logicalview::formattedName(), getFilenameIndex(), llvm::logicalview::LVObject::getLevel(), llvm::logicalview::LVObject::getLineNumber(), getName(), getNameIndex(), llvm::logicalview::LVObject::getOffset(), getQualifiedName(), getQualifiedNameIndex(), getType(), llvm::logicalview::hexSquareString(), llvm::logicalview::LVObject::kind(), LLVM_DEBUG, and llvm::logicalview::options().
Referenced by equals(), llvm::logicalview::LVLine::equals(), llvm::logicalview::LVScope::equals(), llvm::logicalview::LVSymbol::equals(), llvm::logicalview::LVType::equals(), and llvm::logicalview::LVTypeParam::equals().
StringRef LVElement::externalString | ( | ) | const |
Definition at line 151 of file LVElement.cpp.
Referenced by llvm::logicalview::LVScopeFunction::printExtra(), and llvm::logicalview::LVSymbol::printExtra().
void LVElement::generateName | ( | ) |
Definition at line 259 of file LVElement.cpp.
References generateName(), llvm::logicalview::Name, and setName().
Referenced by generateName(), llvm::logicalview::LVScope::resolveName(), and llvm::logicalview::LVType::resolveName().
void LVElement::generateName | ( | std::string & | Prefix | ) | const |
Definition at line 244 of file LVElement.cpp.
References llvm::erase_if(), getName(), llvm::logicalview::LVObject::getParentScope(), llvm::logicalview::LVObject::isLined(), llvm::logicalview::LVObject::lineNumberAsString(), and llvm::logicalview::LVObject::Scope.
|
inline |
Definition at line 264 of file LVElement.h.
Referenced by accessibilityString(), and setAccessibilityCode().
std::optional< uint32_t > LVElement::getAccessibilityCode | ( | codeview::MemberAccess | Access | ) |
Definition at line 138 of file LVElement.cpp.
References llvm::dwarf::DW_ACCESS_private, llvm::dwarf::DW_ACCESS_protected, and llvm::dwarf::DW_ACCESS_public.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVSymbol.
Definition at line 242 of file LVElement.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVTypeSubrange.
Definition at line 251 of file LVElement.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVScopeFunctionInlined.
Definition at line 231 of file LVElement.h.
Referenced by llvm::logicalview::LVScopeFunctionInlined::equals().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVScopeFunctionInlined.
Definition at line 229 of file LVElement.h.
Referenced by llvm::logicalview::LVScopeFunctionInlined::equals().
|
virtual |
Reimplemented in llvm::logicalview::LVScope, and llvm::logicalview::LVScopeCompileUnit.
Definition at line 430 of file LVElement.cpp.
References traverseParents().
Referenced by llvm::logicalview::LVScope::getCompileUnitParent().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVTypeSubrange.
Definition at line 245 of file LVElement.h.
Referenced by llvm::logicalview::LVLogicalVisitor::visitKnownRecord().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVLineDebug, and llvm::logicalview::LVScopeFunctionInlined.
Definition at line 255 of file LVElement.h.
Referenced by discriminatorAsString(), llvm::logicalview::LVScopeFunctionInlined::equals(), and llvm::logicalview::LVLine::lineNumberAsString().
|
inlinestatic |
Definition at line 363 of file LVElement.h.
Referenced by llvm::logicalview::LVPatterns::LVPatterns().
|
inline |
Definition at line 233 of file LVElement.h.
Referenced by equals(), llvm::logicalview::LVLineDebug::equals(), llvm::logicalview::LVScopeAggregate::equals(), getPathname(), printFileIndex(), and setFile().
LVScope * LVElement::getFunctionParent | ( | ) | const |
Definition at line 426 of file LVElement.cpp.
References traverseParents().
|
inline |
Definition at line 277 of file LVElement.h.
Referenced by inlineCodeString(), and llvm::logicalview::LVScopeFunction::printExtra().
|
inline |
Definition at line 180 of file LVElement.h.
References ElementType.
Referenced by llvm::logicalview::LVTypeParam::encodeTemplateArgument(), and setGenericType().
|
inline |
Definition at line 179 of file LVElement.h.
References ElementType.
Referenced by llvm::logicalview::LVTypeParam::encodeTemplateArgument(), and setGenericType().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVScopeFunction, and llvm::logicalview::LVSymbol.
Definition at line 226 of file LVElement.h.
Referenced by printLinkageName(), and llvm::logicalview::LVScope::resolveName().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVScopeFunction, and llvm::logicalview::LVSymbol.
Definition at line 227 of file LVElement.h.
Referenced by llvm::logicalview::LVScopeFunction::equals().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVTypeSubrange.
Definition at line 247 of file LVElement.h.
|
inlineoverridevirtual |
Reimplemented from llvm::logicalview::LVObject.
Definition at line 184 of file LVElement.h.
References llvm::logicalview::LVStringPool::getString(), and llvm::logicalview::getStringPool().
Referenced by checkIntegrityScopesTree(), llvm::logicalview::LVScope::doPrint(), llvm::logicalview::LVScopeRoot::doPrintMatches(), llvm::logicalview::LVTypeParam::encodeTemplateArgument(), equals(), llvm::logicalview::LVTypeSubrange::equals(), generateName(), llvm::logicalview::LVScope::getQualifiedName(), getTypeName(), llvm::logicalview::LVLogicalVisitor::inlineSiteAnnotation(), llvm::logicalview::LVCodeViewReader::isSystemEntry(), llvm::logicalview::LVSymbol::markMissingParents(), llvm::logicalview::LVRange::print(), llvm::logicalview::LVLineAssembler::printExtra(), llvm::logicalview::LVScope::printExtra(), llvm::logicalview::LVScopeAlias::printExtra(), llvm::logicalview::LVScopeArray::printExtra(), llvm::logicalview::LVScopeCompileUnit::printExtra(), llvm::logicalview::LVScopeEnumeration::printExtra(), llvm::logicalview::LVScopeFormalPack::printExtra(), llvm::logicalview::LVScopeFunction::printExtra(), llvm::logicalview::LVScopeNamespace::printExtra(), llvm::logicalview::LVScopeRoot::printExtra(), llvm::logicalview::LVScopeTemplatePack::printExtra(), llvm::logicalview::LVSymbol::printExtra(), llvm::logicalview::LVType::printExtra(), llvm::logicalview::LVTypeDefinition::printExtra(), llvm::logicalview::LVTypeEnumerator::printExtra(), llvm::logicalview::LVTypeImport::printExtra(), llvm::logicalview::LVTypeParam::printExtra(), llvm::logicalview::LVTypeSubrange::printExtra(), llvm::logicalview::LVCompare::printItem(), llvm::logicalview::LVLogicalVisitor::printMemberBegin(), llvm::logicalview::LVLogicalVisitor::printTypeBegin(), llvm::logicalview::LVScopeCompileUnit::printWarnings(), llvm::logicalview::LVTypeDefinition::resolveExtra(), resolveFullname(), llvm::logicalview::LVType::resolveName(), llvm::logicalview::LVScope::resolveReferencesChain(), llvm::logicalview::LVSymbol::resolveReferencesChain(), llvm::logicalview::LVType::resolveReferencesChain(), setInnerComponent(), llvm::logicalview::LVLogicalVisitor::visitKnownMember(), and llvm::logicalview::LVSymbolVisitor::visitKnownRecord().
|
inline |
Definition at line 205 of file LVElement.h.
Referenced by equals(), and llvm::logicalview::LVScopeCompileUnit::equals().
|
inline |
Definition at line 190 of file LVElement.h.
References getFilenameIndex(), llvm::logicalview::LVStringPool::getString(), and llvm::logicalview::getStringPool().
Referenced by llvm::logicalview::LVLineDebug::printExtra(), printFileIndex(), and llvm::logicalview::LVCompare::printItem().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVScopeCompileUnit.
Definition at line 214 of file LVElement.h.
|
inline |
Definition at line 201 of file LVElement.h.
References llvm::logicalview::LVStringPool::getString(), and llvm::logicalview::getStringPool().
Referenced by llvm::logicalview::LVScope::encodeTemplateArguments(), equals(), and getTypeQualifiedName().
|
inline |
Definition at line 206 of file LVElement.h.
Referenced by equals().
|
inline |
Definition at line 140 of file LVElement.h.
Referenced by llvm::logicalview::LVLine::classof(), llvm::logicalview::LVScope::classof(), llvm::logicalview::LVSymbol::classof(), and llvm::logicalview::LVType::classof().
|
inline |
Definition at line 297 of file LVElement.h.
References ElementType.
Referenced by equals(), llvm::logicalview::LVTypeParam::equals(), llvm::logicalview::LVTypeDefinition::printExtra(), llvm::logicalview::LVTypeImport::printExtra(), llvm::logicalview::LVScopeArray::resolveExtra(), llvm::logicalview::LVScopeFunctionType::resolveExtra(), llvm::logicalview::LVTypeDefinition::resolveExtra(), llvm::logicalview::LVScope::resolveName(), llvm::logicalview::LVType::resolveName(), llvm::logicalview::LVScope::resolveReferences(), llvm::logicalview::LVScopeFunction::resolveReferences(), llvm::logicalview::LVSymbol::resolveReferences(), llvm::logicalview::LVType::resolveReferences(), and typeOffsetAsString().
LVScope * LVElement::getTypeAsScope | ( | ) | const |
Definition at line 36 of file LVElement.cpp.
References ElementType.
Referenced by llvm::logicalview::LVTypeParam::encodeTemplateArgument(), llvm::logicalview::LVTypeDefinition::getUnderlyingType(), llvm::logicalview::LVTypeDefinition::resolveExtra(), and setGenericType().
LVType * LVElement::getTypeAsType | ( | ) | const |
Definition at line 30 of file LVElement.cpp.
References ElementType.
Referenced by llvm::logicalview::LVTypeParam::encodeTemplateArgument(), llvm::logicalview::LVTypeDefinition::getUnderlyingType(), and setGenericType().
StringRef LVElement::getTypeName | ( | ) | const |
Definition at line 74 of file LVElement.cpp.
References ElementType, and getName().
Referenced by llvm::logicalview::LVTypeSubrange::equals(), llvm::logicalview::LVTypeParam::printExtra(), llvm::logicalview::LVTypeSubrange::printExtra(), llvm::logicalview::LVScopeArray::resolveExtra(), llvm::logicalview::LVScopeFunctionType::resolveExtra(), and typeAsString().
|
inline |
Definition at line 312 of file LVElement.h.
References ElementType, and getQualifiedName().
Referenced by llvm::logicalview::LVTypeParam::encodeTemplateArgument(), llvm::logicalview::LVScope::printExtra(), llvm::logicalview::LVScopeAlias::printExtra(), llvm::logicalview::LVScopeEnumeration::printExtra(), llvm::logicalview::LVScopeFunction::printExtra(), llvm::logicalview::LVSymbol::printExtra(), and llvm::logicalview::LVTypeParam::printExtra().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVTypeSubrange.
Definition at line 249 of file LVElement.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVSymbol, llvm::logicalview::LVTypeEnumerator, and llvm::logicalview::LVTypeParam.
Definition at line 259 of file LVElement.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVSymbol, llvm::logicalview::LVTypeEnumerator, and llvm::logicalview::LVTypeParam.
Definition at line 261 of file LVElement.h.
|
inline |
Definition at line 282 of file LVElement.h.
Referenced by setVirtualityCode(), and virtualityString().
std::optional< uint32_t > LVElement::getVirtualityCode | ( | codeview::MethodKind | Virtuality | ) |
Definition at line 185 of file LVElement.cpp.
Definition at line 155 of file LVElement.cpp.
References llvm::codeview::Code, llvm::dwarf::DW_INL_declared_inlined, llvm::dwarf::DW_INL_declared_not_inlined, llvm::dwarf::DW_INL_inlined, llvm::dwarf::DW_INL_not_inlined, and getInlineCode().
Referenced by llvm::logicalview::LVScopeFunction::printExtra().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVType.
Definition at line 239 of file LVElement.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVScope.
Definition at line 217 of file LVElement.h.
Referenced by resolveParents().
|
inlineoverridevirtual |
Reimplemented from llvm::logicalview::LVObject.
Definition at line 176 of file LVElement.h.
|
inlineoverridevirtual |
Reimplemented from llvm::logicalview::LVObject.
Definition at line 174 of file LVElement.h.
Referenced by llvm::logicalview::LVScopeAggregate::equals(), llvm::logicalview::LVScope::resolveName(), llvm::logicalview::LVType::resolveName(), llvm::logicalview::LVScope::resolveReferencesChain(), and llvm::logicalview::LVSymbol::resolveReferencesChain().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVScope.
Definition at line 218 of file LVElement.h.
Referenced by resolveParents().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVType.
Definition at line 240 of file LVElement.h.
Referenced by setGenericType().
|
inlineoverridevirtual |
Reimplemented from llvm::logicalview::LVObject.
Definition at line 175 of file LVElement.h.
References ElementType.
|
overrideprotectedvirtual |
Reimplemented from llvm::logicalview::LVObject.
Definition at line 520 of file LVElement.cpp.
References llvm::format(), llvm::logicalview::formattedName(), getFilenameIndex(), getPathname(), llvm::logicalview::options(), OS, and llvm::logicalview::LVObject::printAttributes().
void LVElement::printLinkageName | ( | raw_ostream & | OS, |
bool | Full, | ||
LVElement * | Parent | ||
) | const |
Definition at line 548 of file LVElement.cpp.
References llvm::Full, getLinkageName(), llvm::logicalview::options(), OS, and llvm::logicalview::LVObject::printAttributes().
void LVElement::printLinkageName | ( | raw_ostream & | OS, |
bool | Full, | ||
LVElement * | Parent, | ||
LVScope * | Scope | ||
) | const |
Definition at line 556 of file LVElement.cpp.
References llvm::Full, getLinkageName(), llvm::logicalview::getReader(), llvm::logicalview::LVReader::getSectionIndex(), llvm::logicalview::options(), OS, llvm::logicalview::LVObject::printAttributes(), llvm::logicalview::LVObject::Scope, llvm::logicalview::Text, and llvm::Twine::utohexstr().
Referenced by llvm::logicalview::LVScopeFunction::printExtra(), and llvm::logicalview::LVSymbol::printExtra().
void LVElement::printReference | ( | raw_ostream & | OS, |
bool | Full, | ||
LVElement * | Parent | ||
) | const |
Definition at line 540 of file LVElement.cpp.
References llvm::Full, llvm::logicalview::LVObject::getLineNumber(), llvm::logicalview::options(), OS, llvm::logicalview::LVObject::printAttributes(), and llvm::logicalview::LVObject::referenceAsString().
Referenced by llvm::logicalview::LVScopeNamespace::printExtra(), and llvm::logicalview::LVSymbol::printExtra().
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
HasAugmentedName | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
HasReference | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
HasReferenceAbstract | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
HasReferenceExtension | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
HasReferenceSpecification | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
HasType | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IncludeInPrint | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
InvalidFilename | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsAnonymous | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsArrayResolved | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsArtificial | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsEnumClass | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsExternal | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsInlined | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsInlinedAbstract | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsLine | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsMemberPointerResolved | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsNested | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsReferencedType | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsScope | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsScoped | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsScopedAlready | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsStatic | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsSymbol | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsSystem | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsTemplateResolved | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsType | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
IsTypedefReduced | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
OffsetFromTypeIndex | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
QualifiedResolved | |||
) |
llvm::logicalview::LVElement::PROPERTY | ( | Property | , |
TransformName | |||
) |
Definition at line 470 of file LVElement.cpp.
References llvm::logicalview::LVObject::Element.
Referenced by llvm::logicalview::LVScopeFunction::equals(), llvm::logicalview::LVScopeNamespace::equals(), and llvm::logicalview::LVSymbol::equals().
Reimplemented in llvm::logicalview::LVScope.
Definition at line 340 of file LVElement.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVLine, llvm::logicalview::LVScope, llvm::logicalview::LVSymbol, and llvm::logicalview::LVType.
Definition at line 361 of file LVElement.h.
Referenced by llvm::logicalview::LVScope::report().
|
virtual |
Reimplemented in llvm::logicalview::LVScope.
Definition at line 200 of file LVElement.cpp.
References resolveExtra(), resolveName(), resolveParents(), and resolveReferences().
Referenced by llvm::logicalview::LVScope::resolve(), llvm::logicalview::LVScopeFunctionType::resolveExtra(), llvm::logicalview::LVScope::resolveReferences(), llvm::logicalview::LVSymbol::resolveReferences(), and llvm::logicalview::LVType::resolveReferences().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVScopeArray, llvm::logicalview::LVScopeFunction, llvm::logicalview::LVScopeFunctionInlined, llvm::logicalview::LVScopeFunctionType, llvm::logicalview::LVTypeDefinition, and llvm::logicalview::LVTypeSubrange.
Definition at line 350 of file LVElement.h.
Referenced by resolve().
void LVElement::resolveFullname | ( | LVElement * | BaseType, |
StringRef | Name = emptyString() |
||
) |
Definition at line 274 of file LVElement.cpp.
References assert(), llvm::dbgs(), llvm::dwarf::DW_TAG_unaligned, llvm::logicalview::emptyString(), getName(), llvm::logicalview::LVObject::getTag(), LLVM_DEBUG, llvm_unreachable, llvm::logicalview::Name, setName(), llvm::StringRef::size(), and llvm::logicalview::typeVoid().
Referenced by llvm::logicalview::LVScopeArray::resolveExtra(), llvm::logicalview::LVTypeDefinition::resolveExtra(), llvm::logicalview::LVScope::resolveName(), and llvm::logicalview::LVType::resolveName().
|
virtual |
Reimplemented in llvm::logicalview::LVScope, llvm::logicalview::LVSymbol, and llvm::logicalview::LVType.
Definition at line 225 of file LVElement.cpp.
References llvm::logicalview::options().
Referenced by resolve(), llvm::logicalview::LVScope::resolveName(), llvm::logicalview::LVSymbol::resolveName(), and llvm::logicalview::LVType::resolveName().
void LVElement::resolveParents | ( | ) |
Definition at line 234 of file LVElement.cpp.
References llvm::logicalview::LVObject::getParentScope(), isCompileUnit(), isRoot(), and llvm::logicalview::LVScope::resolve().
Referenced by resolve().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVScope, llvm::logicalview::LVScopeFunction, llvm::logicalview::LVSymbol, and llvm::logicalview::LVType.
Definition at line 352 of file LVElement.h.
Referenced by resolve().
|
inline |
Definition at line 271 of file LVElement.h.
References llvm::codeview::Code, and getAccessibilityCode().
|
inline |
Definition at line 265 of file LVElement.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVSymbol.
Definition at line 243 of file LVElement.h.
Referenced by llvm::logicalview::LVLogicalVisitor::visitKnownRecord().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVTypeSubrange.
Definition at line 252 of file LVElement.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVScopeFunctionInlined.
Definition at line 232 of file LVElement.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVScopeFunctionInlined.
Definition at line 230 of file LVElement.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVTypeSubrange.
Definition at line 246 of file LVElement.h.
Referenced by llvm::logicalview::LVLogicalVisitor::visitKnownRecord().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVLineDebug, and llvm::logicalview::LVScopeFunctionInlined.
Definition at line 256 of file LVElement.h.
void LVElement::setFile | ( | LVElement * | Reference = nullptr | ) |
Definition at line 374 of file LVElement.cpp.
References llvm::logicalview::Filename, llvm::logicalview::LVReader::getFilename(), getFilenameIndex(), llvm::logicalview::getReader(), llvm::logicalview::options(), llvm::logicalview::Reference, setFilename(), and setFilenameIndex().
Referenced by llvm::logicalview::LVScope::resolveReferences(), llvm::logicalview::LVSymbol::resolveReferences(), and llvm::logicalview::LVType::resolveReferences().
void LVElement::setFilename | ( | StringRef | Filename | ) |
Definition at line 102 of file LVElement.cpp.
References llvm::logicalview::Filename, and getStringIndex().
Referenced by setFile().
|
inline |
Definition at line 234 of file LVElement.h.
Referenced by llvm::logicalview::LVLogicalVisitor::processLines(), and setFile().
void LVElement::setGenericType | ( | LVElement * | Element | ) |
Definition at line 43 of file LVElement.cpp.
References llvm::logicalview::LVObject::Element, getIsKindScope(), getIsKindType(), getTypeAsScope(), getTypeAsType(), isTemplateParam(), llvm::logicalview::options(), and setType().
Referenced by llvm::logicalview::LVSymbol::resolveReferences().
|
inline |
Definition at line 278 of file LVElement.h.
References llvm::codeview::Code.
Referenced by llvm::logicalview::LVSymbolVisitor::visitKnownRecord().
|
inline |
Definition at line 208 of file LVElement.h.
References getName(), and setInnerComponent().
Referenced by setInnerComponent(), and llvm::logicalview::LVScopeRoot::transformScopedName().
void LVElement::setInnerComponent | ( | StringRef | Name | ) |
Definition at line 107 of file LVElement.cpp.
References llvm::logicalview::getInnerComponent(), llvm::logicalview::Name, and setName().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVScopeFunction, and llvm::logicalview::LVSymbol.
Definition at line 225 of file LVElement.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVTypeSubrange.
Definition at line 248 of file LVElement.h.
|
overridevirtual |
Reimplemented from llvm::logicalview::LVObject.
Reimplemented in llvm::logicalview::LVScopeFunction.
Definition at line 96 of file LVElement.cpp.
References llvm::logicalview::LVStringPool::getIndex(), getStringIndex(), and llvm::logicalview::getStringPool().
Referenced by llvm::logicalview::LVLogicalVisitor::createElement(), llvm::logicalview::LVReader::createScopes(), generateName(), llvm::logicalview::LVScopeArray::resolveExtra(), llvm::logicalview::LVTypeDefinition::resolveExtra(), llvm::logicalview::LVTypeSubrange::resolveExtra(), resolveFullname(), llvm::logicalview::LVScope::resolveName(), llvm::logicalview::LVScope::resolveReferencesChain(), llvm::logicalview::LVSymbol::resolveReferencesChain(), setInnerComponent(), llvm::logicalview::LVScopeFunction::setName(), and llvm::logicalview::LVLogicalVisitor::visitKnownRecord().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVScopeCompileUnit.
Definition at line 215 of file LVElement.h.
|
inline |
Definition at line 198 of file LVElement.h.
References llvm::logicalview::LVStringPool::getIndex(), llvm::logicalview::getStringPool(), and llvm::logicalview::Name.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVScopeAggregate, llvm::logicalview::LVScopeFunction, llvm::logicalview::LVScopeNamespace, and llvm::logicalview::LVSymbol.
Definition at line 220 of file LVElement.h.
Referenced by llvm::logicalview::LVSymbolVisitor::visitKnownRecord().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVScopeAggregate, llvm::logicalview::LVScopeFunction, and llvm::logicalview::LVScopeNamespace.
Definition at line 221 of file LVElement.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVSymbol.
Definition at line 222 of file LVElement.h.
|
inlinevirtual |
Definition at line 223 of file LVElement.h.
|
inline |
Definition at line 301 of file LVElement.h.
References llvm::logicalview::LVObject::Element, and ElementType.
Referenced by llvm::logicalview::LVScopeFunction::resolveReferences(), llvm::logicalview::LVSymbol::resolveReferences(), setGenericType(), llvm::logicalview::LVTypeDefinition::setUnderlyingType(), and llvm::logicalview::LVLogicalVisitor::visitKnownRecord().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVTypeSubrange.
Definition at line 250 of file LVElement.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVSymbol, llvm::logicalview::LVTypeEnumerator, and llvm::logicalview::LVTypeParam.
Definition at line 260 of file LVElement.h.
|
inline |
Definition at line 289 of file LVElement.h.
References llvm::codeview::Code, and getVirtualityCode().
|
inline |
Definition at line 283 of file LVElement.h.
LVScope * LVElement::traverseParents | ( | LVScopeGetFunction | GetFunction | ) | const |
Definition at line 419 of file LVElement.cpp.
References llvm::logicalview::LVObject::getParentScope().
Referenced by getCompileUnitParent(), and getFunctionParent().
StringRef LVElement::typeAsString | ( | ) | const |
Definition at line 69 of file LVElement.cpp.
References getTypeName(), and llvm::logicalview::typeVoid().
Referenced by llvm::logicalview::LVScope::printExtra(), llvm::logicalview::LVScopeAlias::printExtra(), llvm::logicalview::LVScopeEnumeration::printExtra(), llvm::logicalview::LVScopeFunction::printExtra(), llvm::logicalview::LVSymbol::printExtra(), and llvm::logicalview::LVScopeFunctionType::resolveExtra().
std::string LVElement::typeOffsetAsString | ( | ) | const |
Definition at line 116 of file LVElement.cpp.
References llvm::logicalview::LVObject::Element, llvm::logicalview::LVObject::getOffset(), getType(), llvm::logicalview::hexSquareString(), and llvm::logicalview::options().
Referenced by llvm::logicalview::LVScope::printExtra(), llvm::logicalview::LVScopeAlias::printExtra(), llvm::logicalview::LVScopeArray::printExtra(), llvm::logicalview::LVScopeEnumeration::printExtra(), llvm::logicalview::LVScopeFunction::printExtra(), llvm::logicalview::LVSymbol::printExtra(), llvm::logicalview::LVTypeDefinition::printExtra(), llvm::logicalview::LVTypeImport::printExtra(), llvm::logicalview::LVTypeParam::printExtra(), and llvm::logicalview::LVTypeSubrange::printExtra().
Reimplemented in llvm::logicalview::LVScope.
Definition at line 267 of file LVElement.cpp.
References llvm::logicalview::LVObject::getLevel(), and llvm::logicalview::LVObject::setLevel().
Referenced by llvm::logicalview::LVScope::updateLevel(), llvm::logicalview::LVLogicalVisitor::visitKnownMember(), and llvm::logicalview::LVSymbolVisitor::visitKnownRecord().
Definition at line 171 of file LVElement.cpp.
References getVirtualityCode().
Referenced by llvm::logicalview::LVScopeFunction::printExtra(), llvm::logicalview::LVSymbol::printExtra(), and llvm::logicalview::LVTypeImport::printExtra().
|
protected |
Definition at line 127 of file LVElement.h.
Referenced by getIsKindScope(), getIsKindType(), getType(), getTypeAsScope(), getTypeAsType(), getTypeName(), getTypeQualifiedName(), isTyped(), llvm::logicalview::LVScopeArray::resolveExtra(), and setType().