LLVM 20.0.0git
|
#include "llvm/DebugInfo/LogicalView/Core/LVObject.h"
Protected Member Functions | |
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 |
Definition at line 108 of file LVObject.h.
|
inline |
Definition at line 195 of file LVObject.h.
|
virtualdefault |
|
virtual |
Reimplemented in llvm::logicalview::LVScope.
Definition at line 110 of file LVObject.cpp.
References llvm::Full, OS, print(), and llvm::Error::success().
Referenced by llvm::logicalview::LVScope::doPrint().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVLine, llvm::logicalview::LVLocation, llvm::logicalview::LVRange, llvm::logicalview::LVScope, llvm::logicalview::LVSymbol, and llvm::logicalview::LVType.
Definition at line 315 of file LVObject.h.
References llvm::dbgs(), and print().
|
inline |
Definition at line 232 of file LVObject.h.
Referenced by llvm::logicalview::LVLocation::setKind().
|
inline |
Definition at line 318 of file LVObject.h.
Referenced by checkIntegrityScopesTree(), and printAttributes().
|
inline |
Definition at line 242 of file LVObject.h.
Referenced by llvm::logicalview::LVScope::doPrint(), llvm::logicalview::LVElement::equals(), llvm::logicalview::LVRange::getEntry(), printAttributes(), llvm::logicalview::LVScopeCompileUnit::printLocalNames(), llvm::logicalview::LVScopeCompileUnit::printSizes(), setParent(), llvm::logicalview::LVRange::startSearch(), llvm::logicalview::LVScope::updateLevel(), and llvm::logicalview::LVElement::updateLevel().
|
inline |
Definition at line 272 of file LVObject.h.
Referenced by llvm::logicalview::LVElement::equals(), lineNumberAsString(), llvm::logicalview::LVLine::lineNumberAsString(), llvm::logicalview::LVCompare::printItem(), llvm::logicalview::LVElement::printReference(), and llvm::logicalview::LVLocation::validateRanges().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVLocation.
Definition at line 267 of file LVObject.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVElement.
Definition at line 245 of file LVObject.h.
|
inline |
Definition at line 238 of file LVObject.h.
Referenced by llvm::logicalview::LVScopeCompileUnit::addInvalidCoverage(), llvm::logicalview::LVScopeCompileUnit::addLineZero(), llvm::logicalview::LVScope::addMissingElements(), llvm::logicalview::LVScope::addObject(), llvm::logicalview::LVScopeCompileUnit::addSize(), llvm::logicalview::LVElement::equals(), llvm::logicalview::LVLine::getAddress(), printAttributes(), llvm::logicalview::LVLogicalVisitor::printMemberBegin(), llvm::logicalview::LVLogicalVisitor::printTypeBegin(), and llvm::logicalview::LVElement::typeOffsetAsString().
|
inline |
Definition at line 234 of file LVObject.h.
|
inline |
Definition at line 248 of file LVObject.h.
References assert().
Referenced by llvm::logicalview::LVScope::addElement(), and markBranchAsMissing().
|
inline |
Definition at line 253 of file LVObject.h.
References assert().
Referenced by llvm::logicalview::LVSymbol::calculateCoverage(), llvm::logicalview::LVScope::equals(), llvm::logicalview::LVSymbol::fillLocationGaps(), llvm::logicalview::LVElement::generateName(), llvm::logicalview::LVScope::getQualifiedName(), llvm::logicalview::LVLogicalVisitor::inlineSiteAnnotation(), llvm::logicalview::LVScopeCompileUnit::lineRange(), llvm::logicalview::LVScope::outermostParent(), llvm::logicalview::LVLocation::print(), llvm::logicalview::LVScopeFunction::printExtra(), llvm::logicalview::LVSymbol::printExtra(), llvm::logicalview::LVElement::resolveParents(), llvm::logicalview::LVElement::traverseParents(), llvm::logicalview::LVScope::traverseParentsAndChildren(), llvm::logicalview::LVSymbolVisitor::visitKnownRecord(), and llvm::logicalview::LVLogicalVisitor::visitKnownRecord().
|
inline |
Definition at line 258 of file LVObject.h.
References assert().
Referenced by llvm::logicalview::LVLocationSymbol::printExtra(), and llvm::logicalview::LVLocation::setKind().
|
inline |
Definition at line 230 of file LVObject.h.
Referenced by llvm::logicalview::LVElement::resolveFullname().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVLocation.
Definition at line 269 of file LVObject.h.
std::string LVObject::indentAsString | ( | ) | const |
Definition at line 40 of file LVObject.cpp.
References indentAsString(), and llvm::logicalview::options().
Referenced by indentAsString(), print(), and llvm::logicalview::LVScopeCompileUnit::printLocalNames().
std::string LVObject::indentAsString | ( | LVLevel | Level | ) | const |
Definition at line 35 of file LVObject.cpp.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVElement.
Definition at line 226 of file LVObject.h.
|
inline |
Definition at line 227 of file LVObject.h.
Referenced by llvm::logicalview::LVElement::generateName().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVElement.
Definition at line 224 of file LVObject.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVElement.
Definition at line 225 of file LVObject.h.
Reimplemented in llvm::logicalview::LVLine, llvm::logicalview::LVLocation, llvm::logicalview::LVScope, llvm::logicalview::LVSymbol, and llvm::logicalview::LVType.
Definition at line 275 of file LVObject.h.
Referenced by checkIntegrityScopesTree(), llvm::logicalview::LVElement::equals(), llvm::logicalview::LVCompare::printItem(), and llvm::logicalview::LVScopeCompileUnit::printWarnings().
|
protected |
Definition at line 52 of file LVObject.cpp.
References llvm::logicalview::Discriminator, noLineAsString(), and llvm::logicalview::options().
Referenced by lineNumberAsString(), llvm::logicalview::LVLine::lineNumberAsString(), and llvm::logicalview::LVScopeFunctionInlined::lineNumberAsString().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVLine, and llvm::logicalview::LVScopeFunctionInlined.
Definition at line 285 of file LVObject.h.
References getLineNumber(), and lineAsString().
Referenced by llvm::logicalview::LVElement::generateName(), lineNumberAsStringStripped(), print(), llvm::logicalview::LVCompare::printItem(), and llvm::logicalview::LVScopeCompileUnit::printLocalNames().
std::string LVObject::lineNumberAsStringStripped | ( | bool | ShowZero = false | ) | const |
Definition at line 75 of file LVObject.cpp.
References lineNumberAsString().
void LVObject::markBranchAsMissing | ( | ) |
Definition at line 98 of file LVObject.cpp.
References getParent().
Referenced by llvm::logicalview::LVSymbol::markMissingParents().
|
virtual |
Reimplemented in llvm::logicalview::LVLineAssembler, and llvm::logicalview::LVLine.
Definition at line 47 of file LVObject.cpp.
Referenced by lineAsString(), and llvm::logicalview::LVLine::noLineAsString().
|
virtual |
Reimplemented in llvm::logicalview::LVLine, llvm::logicalview::LVLocation, llvm::logicalview::LVRange, llvm::logicalview::LVScope, llvm::logicalview::LVScopeCompileUnit, llvm::logicalview::LVScopeRoot, llvm::logicalview::LVSymbol, and llvm::logicalview::LVType.
Definition at line 160 of file LVObject.cpp.
References llvm::Full, indentAsString(), lineNumberAsString(), OS, printAttributes(), and printFileIndex().
Referenced by doPrint(), dump(), llvm::logicalview::LVLine::print(), llvm::logicalview::LVLocation::print(), llvm::logicalview::LVScope::print(), llvm::logicalview::LVSymbol::print(), llvm::logicalview::LVType::print(), and llvm::logicalview::LVScopeCompileUnit::printMatchedElements().
void LVObject::printAttributes | ( | raw_ostream & | OS, |
bool | Full, | ||
StringRef | Name, | ||
LVObject * | Parent, | ||
StringRef | Value, | ||
bool | UseQuotes = false , |
||
bool | PrintRef = false |
||
) | const |
Definition at line 116 of file LVObject.cpp.
References llvm::format(), llvm::logicalview::formattedName(), llvm::Full, getLevel(), getOffset(), llvm::logicalview::hexSquareString(), llvm::logicalview::Name, llvm::logicalview::options(), OS, and PrintRef.
void LVObject::printAttributes | ( | raw_ostream & | OS, |
bool | Full = true |
||
) | const |
Definition at line 139 of file LVObject.cpp.
References getID(), getLevel(), getOffset(), llvm::logicalview::hexSquareString(), llvm::logicalview::options(), and OS.
Referenced by llvm::logicalview::LVLocation::print(), print(), llvm::logicalview::LVRange::print(), llvm::logicalview::LVScope::printEncodedArgs(), llvm::logicalview::LVLocationSymbol::printExtra(), llvm::logicalview::LVScopeCompileUnit::printExtra(), llvm::logicalview::LVElement::printFileIndex(), llvm::logicalview::LVCompare::printItem(), llvm::logicalview::LVElement::printLinkageName(), and llvm::logicalview::LVElement::printReference().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVLine, llvm::logicalview::LVLineDebug, llvm::logicalview::LVLineAssembler, llvm::logicalview::LVLocation, llvm::logicalview::LVLocationSymbol, llvm::logicalview::LVRange, llvm::logicalview::LVScope, llvm::logicalview::LVScopeAggregate, llvm::logicalview::LVScopeAlias, llvm::logicalview::LVScopeArray, llvm::logicalview::LVScopeCompileUnit, llvm::logicalview::LVScopeEnumeration, llvm::logicalview::LVScopeFormalPack, llvm::logicalview::LVScopeFunction, llvm::logicalview::LVScopeFunctionInlined, llvm::logicalview::LVScopeNamespace, llvm::logicalview::LVScopeRoot, llvm::logicalview::LVScopeTemplatePack, llvm::logicalview::LVSymbol, llvm::logicalview::LVType, llvm::logicalview::LVTypeDefinition, llvm::logicalview::LVTypeEnumerator, llvm::logicalview::LVTypeImport, llvm::logicalview::LVTypeParam, and llvm::logicalview::LVTypeSubrange.
Definition at line 312 of file LVObject.h.
|
inlineprotectedvirtual |
Reimplemented in llvm::logicalview::LVElement.
Definition at line 192 of file LVObject.h.
Referenced by print().
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
HasCodeViewLocation | |||
) |
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
HasMoved | |||
) |
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
HasPattern | |||
) |
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
IsAdded | |||
) |
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
IsDiscarded | |||
) |
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
IsFileFromReference | |||
) |
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
IsFinalized | |||
) |
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
IsGeneratedName | |||
) |
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
IsGlobalReference | |||
) |
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
IsInCompare | |||
) |
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
IsLineFromReference | |||
) |
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
IsLocation | |||
) |
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
IsMatched | |||
) |
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
IsMissing | |||
) |
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
IsMissingLink | |||
) |
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
IsOptimized | |||
) |
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
IsReferenced | |||
) |
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
IsResolved | |||
) |
llvm::logicalview::LVObject::PROPERTY | ( | Property | , |
IsResolvedName | |||
) |
Definition at line 79 of file LVObject.cpp.
References llvm::String.
Referenced by llvm::logicalview::LVElement::printReference().
|
inline |
Definition at line 265 of file LVObject.h.
Referenced by llvm::logicalview::LVScope::removeElement().
|
inline |
Definition at line 233 of file LVObject.h.
References Attr.
Referenced by llvm::logicalview::LVSymbol::addLocation().
|
inline |
Definition at line 243 of file LVObject.h.
References llvm::logicalview::Level.
Referenced by setParent(), llvm::logicalview::LVScope::updateLevel(), and llvm::logicalview::LVElement::updateLevel().
|
inline |
Definition at line 273 of file LVObject.h.
References llvm::Number.
Referenced by llvm::logicalview::LVLogicalVisitor::inlineSiteAnnotation(), and llvm::logicalview::LVLogicalVisitor::processLines().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVLocation.
Definition at line 268 of file LVObject.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVElement, and llvm::logicalview::LVScopeFunction.
Definition at line 246 of file LVObject.h.
|
inline |
Definition at line 239 of file LVObject.h.
Referenced by llvm::logicalview::LVScope::addMissingElements(), llvm::logicalview::LVLocationSymbol::addObject(), llvm::logicalview::LVLogicalVisitor::createElement(), llvm::logicalview::LVLine::setAddress(), and llvm::logicalview::LVSymbolVisitor::visitSymbolBegin().
|
inline |
Definition at line 235 of file LVObject.h.
References Opcode.
void LVObject::setParent | ( | LVScope * | Scope | ) |
Definition at line 89 of file LVObject.cpp.
References getLevel(), Scope, and setLevel().
Referenced by llvm::logicalview::LVScope::addElement(), and llvm::logicalview::LVSymbol::addLocation().
void LVObject::setParent | ( | LVSymbol * | Symbol | ) |
Definition at line 93 of file LVObject.cpp.
References getLevel(), setLevel(), and Symbol.
|
inline |
Definition at line 231 of file LVObject.h.
References Tag.
Referenced by llvm::logicalview::LVLogicalVisitor::createElement(), llvm::logicalview::LVSymbolVisitor::visitKnownRecord(), and llvm::logicalview::LVLogicalVisitor::visitKnownRecord().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVLocation.
Definition at line 270 of file LVObject.h.
dwarf::Attribute llvm::logicalview::LVObject::Attr |
Definition at line 139 of file LVObject.h.
Referenced by llvm::logicalview::LVSymbol::addLocation(), llvm::logicalview::LVSymbol::addLocationConstant(), and setAttr().
LVElement* llvm::logicalview::LVObject::Element |
Definition at line 146 of file LVObject.h.
Referenced by llvm::logicalview::LVScope::addElement(), llvm::logicalview::LVScopeCompileUnit::addInvalidOffset(), llvm::logicalview::LVScopeCompileUnit::addMatched(), llvm::logicalview::LVScope::addToChildren(), llvm::logicalview::LVLine::classof(), llvm::logicalview::LVScope::classof(), llvm::logicalview::LVSymbol::classof(), llvm::logicalview::LVType::classof(), llvm::logicalview::LVScope::doPrint(), llvm::logicalview::LVElement::equals(), llvm::logicalview::LVScopeCompileUnit::lineRange(), llvm::logicalview::LVScopeCompileUnit::printMatchedElements(), llvm::logicalview::LVScopeCompileUnit::printWarnings(), llvm::logicalview::LVElement::referenceMatch(), llvm::logicalview::LVScope::removeElement(), llvm::logicalview::LVScope::report(), llvm::logicalview::LVScope::resolve(), llvm::logicalview::LVScope::resolveReferences(), llvm::logicalview::LVSymbol::resolveReferences(), llvm::logicalview::LVType::resolveReferences(), llvm::logicalview::LVElement::setGenericType(), llvm::logicalview::LVScopeAggregate::setReference(), llvm::logicalview::LVScopeFunction::setReference(), llvm::logicalview::LVScopeNamespace::setReference(), llvm::logicalview::LVSymbol::setReference(), llvm::logicalview::LVElement::setType(), llvm::logicalview::LVTypeDefinition::setUnderlyingType(), llvm::logicalview::LVElement::typeOffsetAsString(), and llvm::logicalview::LVScope::updateLevel().
LVSmall llvm::logicalview::LVObject::Opcode |
Definition at line 140 of file LVObject.h.
Referenced by llvm::logicalview::LVSymbol::addLocationOperands(), llvm::logicalview::LVLocationSymbol::addObject(), and setOpcode().
LVScope* llvm::logicalview::LVObject::Scope |
Definition at line 147 of file LVObject.h.
Referenced by llvm::logicalview::LVScopeCompileUnit::addedElement(), llvm::logicalview::LVScope::addElement(), llvm::logicalview::LVRange::addEntry(), llvm::logicalview::LVScopeCompileUnit::addLineZero(), llvm::logicalview::LVScopeCompileUnit::addMatched(), llvm::logicalview::LVScopeCompileUnit::addPublicName(), llvm::logicalview::LVScopeCompileUnit::addSize(), llvm::logicalview::LVSymbol::calculateCoverage(), llvm::logicalview::LVScopeRoot::doPrintMatches(), llvm::logicalview::LVScope::equalNumberOfChildren(), llvm::logicalview::LVScope::equals(), llvm::logicalview::LVScopeAggregate::equals(), llvm::logicalview::LVScopeAlias::equals(), llvm::logicalview::LVScopeArray::equals(), llvm::logicalview::LVScopeCompileUnit::equals(), llvm::logicalview::LVScopeEnumeration::equals(), llvm::logicalview::LVScopeFormalPack::equals(), llvm::logicalview::LVScopeFunction::equals(), llvm::logicalview::LVScopeFunctionInlined::equals(), llvm::logicalview::LVScopeNamespace::equals(), llvm::logicalview::LVScopeRoot::equals(), llvm::logicalview::LVScopeTemplatePack::equals(), llvm::logicalview::LVScope::findEqualScope(), llvm::logicalview::LVScopeAggregate::findEqualScope(), llvm::logicalview::LVScopeFunction::findEqualScope(), llvm::logicalview::LVScopeNamespace::findEqualScope(), llvm::logicalview::LVScopeCompileUnit::findPublicName(), llvm::logicalview::LVElement::generateName(), llvm::logicalview::LVRange::getEntry(), llvm::logicalview::LVScope::getLocations(), llvm::logicalview::LVScope::getRanges(), llvm::logicalview::LVScopeCompileUnit::increment(), llvm::logicalview::LVRange::print(), llvm::logicalview::LVElement::printLinkageName(), llvm::logicalview::LVScopeCompileUnit::printMatchedElements(), llvm::logicalview::LVScopeCompileUnit::printSizes(), llvm::logicalview::LVScopeRoot::processRangeInformation(), llvm::logicalview::LVScopeCompileUnit::propagatePatternMatch(), llvm::logicalview::LVScope::resolveElements(), llvm::logicalview::LVScopeFunction::resolveReferences(), setParent(), llvm::logicalview::LVScopeAggregate::setReference(), llvm::logicalview::LVScopeFunction::setReference(), llvm::logicalview::LVScopeNamespace::setReference(), llvm::logicalview::LVScope::sort(), llvm::logicalview::LVRange::startSearch(), llvm::logicalview::LVScopeRoot::transformScopedName(), and llvm::logicalview::LVScope::traverseParentsAndChildren().
LVSymbol* llvm::logicalview::LVObject::Symbol |
Definition at line 148 of file LVObject.h.
Referenced by llvm::logicalview::LVScopeCompileUnit::addedElement(), llvm::logicalview::LVScope::addElement(), llvm::logicalview::LVScopeCompileUnit::addInvalidCoverage(), llvm::logicalview::LVScope::addMissingElements(), llvm::logicalview::LVSymbol::equals(), llvm::logicalview::LVScope::getLocations(), llvm::logicalview::LVSymbol::getParameters(), llvm::logicalview::LVScopeCompileUnit::increment(), llvm::logicalview::LVLocation::print(), llvm::logicalview::LVSymbol::printExtra(), llvm::logicalview::LVScopeCompileUnit::printWarnings(), llvm::logicalview::LVScopeFunctionType::resolveExtra(), setParent(), and llvm::logicalview::LVSymbol::setReference().
dwarf::Tag llvm::logicalview::LVObject::Tag |
Definition at line 138 of file LVObject.h.
Referenced by setTag().