LLVM 22.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 117 of file LVObject.h.
|
inline |
Definition at line 200 of file LVObject.h.
|
virtualdefault |
|
virtual |
Reimplemented in llvm::logicalview::LVScope.
Definition at line 108 of file LVObject.cpp.
References llvm::Full, OS, print(), and llvm::Error::success().
Referenced by llvm::logicalview::LVScope::doPrint().
|
inline |
Definition at line 316 of file LVObject.h.
References llvm::dbgs(), and print().
|
inline |
Definition at line 233 of file LVObject.h.
Referenced by llvm::logicalview::LVLocation::setKind().
|
inline |
Definition at line 319 of file LVObject.h.
Referenced by checkIntegrityScopesTree(), and printAttributes().
|
inline |
Definition at line 243 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 273 of file LVObject.h.
Referenced by llvm::logicalview::LVElement::equals(), llvm::logicalview::LVCompare::printItem(), llvm::logicalview::LVElement::printReference(), and llvm::logicalview::LVLocation::validateRanges().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVLocation.
Definition at line 268 of file LVObject.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVElement.
Definition at line 246 of file LVObject.h.
|
inline |
Definition at line 239 of file LVObject.h.
References Offset.
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(), printAttributes(), llvm::logicalview::LVLogicalVisitor::printMemberBegin(), llvm::logicalview::LVLogicalVisitor::printTypeBegin(), and llvm::logicalview::LVElement::typeOffsetAsString().
|
inline |
Definition at line 235 of file LVObject.h.
|
inline |
Definition at line 249 of file LVObject.h.
References assert().
Referenced by llvm::logicalview::LVScope::addElement(), and markBranchAsMissing().
|
inline |
Definition at line 254 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 259 of file LVObject.h.
References assert().
Referenced by llvm::logicalview::LVLocationSymbol::printExtra(), and llvm::logicalview::LVLocation::setKind().
|
inline |
Definition at line 231 of file LVObject.h.
Referenced by llvm::logicalview::LVElement::resolveFullname().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVLocation.
Definition at line 270 of file LVObject.h.
std::string LVObject::indentAsString | ( | ) | const |
Definition at line 38 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 33 of file LVObject.cpp.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVElement.
Definition at line 227 of file LVObject.h.
|
inline |
Definition at line 228 of file LVObject.h.
Referenced by llvm::logicalview::LVElement::generateName().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVElement.
Definition at line 225 of file LVObject.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVElement.
Definition at line 226 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 276 of file LVObject.h.
Referenced by checkIntegrityScopesTree(), llvm::logicalview::LVElement::equals(), llvm::logicalview::LVCompare::printItem(), and llvm::logicalview::LVScopeCompileUnit::printWarnings().
|
protected |
Definition at line 50 of file LVObject.cpp.
References llvm::logicalview::Discriminator, noLineAsString(), and llvm::logicalview::options().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVLine, and llvm::logicalview::LVScopeFunctionInlined.
Definition at line 286 of file LVObject.h.
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 73 of file LVObject.cpp.
References lineNumberAsString().
void LVObject::markBranchAsMissing | ( | ) |
Definition at line 96 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 45 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 156 of file LVObject.cpp.
References llvm::Full, indentAsString(), lineNumberAsString(), OS, printAttributes(), and printFileIndex().
Referenced by doPrint(), 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 114 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 137 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::LVScopeModule, 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 313 of file LVObject.h.
|
inlineprotectedvirtual |
Reimplemented in llvm::logicalview::LVElement.
Definition at line 197 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 77 of file LVObject.cpp.
References llvm::String.
Referenced by llvm::logicalview::LVElement::printReference().
|
inline |
Definition at line 266 of file LVObject.h.
Referenced by llvm::logicalview::LVScope::removeElement().
|
inline |
Definition at line 234 of file LVObject.h.
Referenced by llvm::logicalview::LVSymbol::addLocation().
|
inline |
Definition at line 244 of file LVObject.h.
Referenced by setParent(), llvm::logicalview::LVScope::updateLevel(), and llvm::logicalview::LVElement::updateLevel().
|
inline |
Definition at line 274 of file LVObject.h.
References Number.
Referenced by llvm::logicalview::LVLogicalVisitor::inlineSiteAnnotation(), and llvm::logicalview::LVLogicalVisitor::processLines().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVLocation.
Definition at line 269 of file LVObject.h.
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVElement, and llvm::logicalview::LVScopeFunction.
Definition at line 247 of file LVObject.h.
|
inline |
Definition at line 240 of file LVObject.h.
References Offset.
Referenced by llvm::logicalview::LVScope::addMissingElements(), llvm::logicalview::LVLocationSymbol::addObject(), llvm::logicalview::LVLogicalVisitor::createElement(), and llvm::logicalview::LVSymbolVisitor::visitSymbolBegin().
|
inline |
Definition at line 236 of file LVObject.h.
void LVObject::setParent | ( | LVScope * | Scope | ) |
Definition at line 87 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 91 of file LVObject.cpp.
References getLevel(), setLevel(), and Symbol.
|
inline |
Definition at line 232 of file LVObject.h.
Referenced by llvm::logicalview::LVLogicalVisitor::createElement(), llvm::logicalview::LVSymbolVisitor::visitKnownRecord(), and llvm::logicalview::LVLogicalVisitor::visitKnownRecord().
|
inlinevirtual |
Reimplemented in llvm::logicalview::LVLocation.
Definition at line 271 of file LVObject.h.
dwarf::Attribute llvm::logicalview::LVObject::Attr |
Definition at line 146 of file LVObject.h.
Referenced by llvm::logicalview::LVSymbol::addLocation(), and llvm::logicalview::LVSymbol::addLocationConstant().
LVElement* llvm::logicalview::LVObject::Element |
Definition at line 161 of file LVObject.h.
Referenced by llvm::logicalview::LVScope::addElement(), llvm::logicalview::LVScopeCompileUnit::addInvalidOffset(), llvm::logicalview::LVScope::addToChildren(), 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::LVElement::typeOffsetAsString(), and llvm::logicalview::LVScope::updateLevel().
LVSmall llvm::logicalview::LVObject::Opcode |
Definition at line 147 of file LVObject.h.
Referenced by llvm::logicalview::LVSymbol::addLocationOperands(), and llvm::logicalview::LVLocationSymbol::addObject().
LVScope* llvm::logicalview::LVObject::Scope |
Definition at line 162 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::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::LVScopeModule::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::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::LVScope::sort(), llvm::logicalview::LVRange::startSearch(), llvm::logicalview::LVScopeRoot::transformScopedName(), and llvm::logicalview::LVScope::traverseParentsAndChildren().
LVSymbol* llvm::logicalview::LVObject::Symbol |
Definition at line 163 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(), and setParent().
dwarf::Tag llvm::logicalview::LVObject::Tag |
Definition at line 145 of file LVObject.h.