| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
| H A D | LVScope.cpp | 50 const char *LVScope::kind() const { in kind() 85 LVScopeDispatch LVScope::Dispatch = { 86 {LVScopeKind::IsAggregate, &LVScope::getIsAggregate}, 87 {LVScopeKind::IsArray, &LVScope::getIsArray}, 88 {LVScopeKind::IsBlock, &LVScope::getIsBlock}, 89 {LVScopeKind::IsCallSite, &LVScope::getIsCallSite}, 90 {LVScopeKind::IsCatchBlock, &LVScope::getIsCatchBlock}, 91 {LVScopeKind::IsClass, &LVScope::getIsClass}, 92 {LVScopeKind::IsCompileUnit, &LVScope::getIsCompileUnit}, 93 {LVScopeKind::IsEntryPoint, &LVScope::getIsEntryPoint}, [all …]
|
| H A D | LVRange.cpp | 30 LVScope *Scope = RangeEntry.scope(); in startSearch() 52 void LVRange::addEntry(LVScope *Scope, LVAddress LowerAddress, in addEntry() 68 void LVRange::addEntry(LVScope *Scope) { in addEntry() 83 LVScope *LVRange::getEntry(LVAddress Address) const { in getEntry() 86 LVScope *Target = nullptr; in getEntry() 89 LVScope *Scope = nullptr; in getEntry() 109 LVScope *LVRange::getEntry(LVAddress LowerAddress, in getEntry() 148 LVScope *Scope = RangeEntry.scope(); in print()
|
| H A D | LVElement.cpp | 35 LVScope *LVElement::getTypeAsScope() const { in getTypeAsScope() 37 ? static_cast<LVScope *>(ElementType) in getTypeAsScope() 237 LVScope *Parent = getParentScope(); in resolveParents() 244 LVScope *Scope = getParentScope(); in generateName() 266 void LVElement::updateLevel(LVScope *Parent, bool Moved) { in updateLevel() 418 LVScope *LVElement::traverseParents(LVScopeGetFunction GetFunction) const { in traverseParents() 419 LVScope *Parent = getParentScope(); in traverseParents() 425 LVScope *LVElement::getFunctionParent() const { in getFunctionParent() 426 return traverseParents(&LVScope::getIsFunction); in getFunctionParent() 429 LVScope *LVElement::getCompileUnitParent() const { in getCompileUnitParent() [all …]
|
| H A D | LVReader.cpp | 28 bool checkIntegrityScopesTree(LVScope *Root) { in checkIntegrityScopesTree() 29 using LVDuplicateEntry = std::tuple<LVElement *, LVScope *, LVScope *>; in checkIntegrityScopesTree() 33 using LVIntegrity = std::map<LVElement *, LVScope *>; in checkIntegrityScopesTree() 37 auto AddElement = [&](LVElement *Element, LVScope *Scope) { in checkIntegrityScopesTree() 47 std::function<void(LVScope * Parent)> TraverseScope = [&](LVScope *Parent) { in checkIntegrityScopesTree() 54 for (LVScope *Scope : *Scopes) { in checkIntegrityScopesTree() 94 LVScope *First; in checkIntegrityScopesTree() 95 LVScope *Second; in checkIntegrityScopesTree() 197 void LVReader::addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope) { in addSectionRange() 202 void LVReader::addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope, in addSectionRange()
|
| H A D | LVCompare.cpp | 194 using LVScopeLink = std::map<LVScope *, LVScope *>; in execute() 217 ScopeLinks.emplace(static_cast<LVScope *>(CurrentTarget), in execute() 218 static_cast<LVScope *>(Reference)); in execute() 300 LVScope *Parent = nullptr; in execute() 317 LVScope *InsertionPoint = It->second; in execute() 355 for (const LVScope *Scope : ScopeStack) { in printCurrentStack()
|
| H A D | LVType.cpp | 237 !LVScope::equals(&ReferenceScopes, &TargetScopes)) in parametersMatch() 351 LVScope *Aggregate = getTypeAsScope(); in resolveExtra() 438 LVScope *ArgScope = getTypeAsScope(); in encodeTemplateArgument()
|
| H A D | LVSymbol.cpp | 192 LVScope *Parent = getParentScope(); in calculateCoverage() 200 LVScope *Scope = in calculateCoverage()
|
| H A D | LVOptions.cpp | 483 ? static_cast<LVScope *>(Element) in addElement() 549 bool LVPatterns::printElement(const LVScope *Scope) const { in printElement()
|
| H A D | LVObject.cpp | 87 void LVObject::setParent(LVScope *Scope) { in setParent()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
| H A D | LVScope.h | 31 using LVPublicNames = std::map<LVScope *, LVNameInfo>; 75 class LLVM_ABI LVScope : public LVElement { 116 LVScope *findIn(const LVScopes *Targets) const; 152 LVScope() : LVElement(LVSubclassID::LV_SCOPE) { in LVScope() function 156 LVScope(const LVScope &) = delete; 157 LVScope &operator=(const LVScope &) = delete; 158 virtual ~LVScope() = default; 220 void addElement(LVScope *Scope); 229 void addMissingElements(LVScope *Reference); 244 LVScope *outermostParent(LVAddress Address); [all …]
|
| H A D | LVRange.h | 29 LVScope *Scope = nullptr; 35 LVRangeEntry(LVAddress LowerAddress, LVAddress UpperAddress, LVScope *Scope) in LVRangeEntry() 43 LVScope *scope() const { return Scope; } in scope() 52 using LVRangesTree = IntervalTree<LVAddress, LVScope *>; 67 void addEntry(LVScope *Scope, LVAddress LowerAddress, LVAddress UpperAddress); 68 void addEntry(LVScope *Scope); 69 LVScope *getEntry(LVAddress Address) const; 70 LVScope *getEntry(LVAddress LowerAddress, LVAddress UpperAddress) const;
|
| H A D | LVObject.h | 51 class LVScope; variable 70 using LVScopeSetFunction = void (LVScope::*)(); 71 using LVScopeGetFunction = bool (LVScope::*)() const; 81 using LVScopes = SmallVector<LVScope *, 8>; 162 LVScope *Scope; 254 LVScope *getParentScope() const { in getParentScope() 255 assert((!Parent.Scope || static_cast<LVScope *>(Parent.Scope)) && in getParentScope() 264 void setParent(LVScope *Scope);
|
| H A D | LVElement.h | 232 virtual void setReference(LVScope *Scope) {} in setReference() 313 LVScope *getTypeAsScope() const; 334 LVScope *traverseParents(LVScopeGetFunction GetFunction) const; 336 LVScope *getFunctionParent() const; 337 virtual LVScope *getCompileUnitParent() const; 344 LVScope *Scope) const; 355 virtual void updateLevel(LVScope *Parent, bool Moved = false);
|
| H A D | LVReader.h | 135 LVScope *CurrentScope = nullptr; 154 void addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope); 155 void addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope, 274 void setCompileUnit(LVScope *Scope) { in setCompileUnit() 298 virtual LVSectionIndex getSectionIndex(LVScope *Scope) { in getSectionIndex() 314 void notifyAddedElement(LVScope *Scope) { in notifyAddedElement() 339 bool doPrintScope(const LVScope *Scope) const { in doPrintScope()
|
| H A D | LVCompare.h | 66 void push(LVScope *Scope) { ScopeStack.push_back(Scope); } in push()
|
| H A D | LVOptions.h | 559 ScopeDispatch = LVScope::getDispatch(); in LVPatterns() 613 void resolvePatternMatch(LVScope *Scope) { in resolvePatternMatch() 634 LLVM_ABI bool printElement(const LVScope *Scope) const;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/ |
| H A D | LVBinaryReader.h | 37 LVScope *Scope = nullptr; 42 LVSymbolTableEntry(LVScope *Scope, LVAddress Address, in LVSymbolTableEntry() 56 void add(StringRef Name, LVScope *Function, LVSectionIndex SectionIndex = 0); 59 LVSectionIndex update(LVScope *Function); 76 using LVInlineeLine = std::map<LVScope *, std::unique_ptr<LVLines>>; 81 LVDoubleMap<LVSectionIndex, LVScope *, LVLines *> ScopeInstructions; 84 LVDoubleMap<LVSectionIndex, LVAddress, LVScope *> AssemblerMappings; 174 getSection(LVScope *Scope, LVAddress Address, LVSectionIndex SectionIndex); 176 void includeInlineeLines(LVSectionIndex SectionIndex, LVScope *Function); 179 Error createInstructions(LVScope *Function, LVSectionIndex SectionIndex); [all …]
|
| H A D | LVCodeViewVisitor.h | 119 class LVScope; 255 using LVScopeStack = std::stack<LVScope *>; 257 LVScope *ReaderParent = nullptr; 258 LVScope *ReaderScope = nullptr; 276 LVSymbol *createParameter(TypeIndex TI, StringRef Name, LVScope *Parent); 278 LVScope *Parent); 279 void createDataMember(CVMemberRecord &Record, LVScope *Parent, StringRef Name, 290 LVScope *CurrentScope = nullptr; 317 Error inlineSiteAnnotation(LVScope *AbstractFunction, 318 LVScope *InlinedFunctio 120 class LVScope; global() variable [all...] |
| H A D | LVDWARFReader.h | 79 void traverseDieAndChildren(DWARFDie &DIE, LVScope *Parent, 82 LVScope *processOneDie(const DWARFDie &InputDIE, LVScope *Parent,
|
| H A D | LVCodeViewReader.h | 51 class LVScope; 72 using LVModules = std::vector<LVScope *>; 209 void addModule(LVScope *Scope) { Modules.push_back(Scope); } 210 LVScope *getScopeForModule(uint32_t Modi) {
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
| H A D | LVBinaryReader.cpp | 24 void LVSymbolTable::add(StringRef Name, LVScope *Function, in add() 51 LVScope *Function = It->second.Scope; in add() 57 LVSectionIndex LVSymbolTable::update(LVScope *Function) { in update() 111 LVScope *Scope = SymbolName.Scope; in print() 121 void LVBinaryReader::addToSymbolTable(StringRef Name, LVScope *Function, in addToSymbolTable() 130 LVSectionIndex LVBinaryReader::updateSymbolTable(LVScope *Function) { in updateSymbolTable() 339 LVBinaryReader::getSection(LVScope *Scope, LVAddress Address, in getSection() 370 Error LVBinaryReader::createInstructions(LVScope *Scope, in createInstructions() 514 Error LVBinaryReader::createInstructions(LVScope *Function, in createInstructions() 534 LVScope *Scope = Name.first; in createInstructions() [all …]
|
| H A D | LVCodeViewVisitor.cpp | 211 using Names = std::map<StringRef, LVScope *>; 219 void add(StringRef Name, LVScope *Namespace) { in add() 229 LVScope *get(LVStringRefs Components); 230 LVScope *get(StringRef Name, bool CheckScope = true); 233 LVScope *find(StringRef Name) { in find() 235 LVScope *Namespace = It != NamespaceNames.end() ? It->second : nullptr; in find() 422 LVScope *LVNamespaceDeduction::get(LVStringRefs Components) { in get() 432 LVScope *Namespace = nullptr; in get() 433 LVScope *Parent = Shared->Reader->getCompileUnit(); in get() 452 LVScope *LVNamespaceDeduction::get(StringRef ScopedName, bool CheckScope) { in get() [all …]
|
| H A D | LVDWARFReader.cpp | 322 LVScope *LVDWARFReader::processOneDie(const DWARFDie &InputDIE, LVScope *Parent, in processOneDie() 491 void LVDWARFReader::traverseDieAndChildren(DWARFDie &DIE, LVScope *Parent, in traverseDieAndChildren() 494 LVScope *Scope = processOneDie(DIE, Parent, SkeletonDie); in traverseDieAndChildren()
|
| H A D | LVCodeViewReader.cpp | 756 LVScope *Function = SymbolTableEntry.Scope; in traverseSymbolSection() 1114 if (LVScope *Scope = getScopeForModule(CurrentModule)) { in processModule()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/ |
| H A D | README.md | 47 ### Remove ``LVScope::Children`` container.
|