/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
H A D | LVScope.cpp | 1 //===-- LVScope.cpp -------------------------------------------------------===// 9 // This implements the LVScope class. 13 #include "llvm/DebugInfo/LogicalView/Core/LVScope.h" 49 const char *LVScope::kind() const { in kind() 82 LVScopeDispatch LVScope::Dispatch = { 83 {LVScopeKind::IsAggregate, &LVScope::getIsAggregate}, 84 {LVScopeKind::IsArray, &LVScope::getIsArray}, 85 {LVScopeKind::IsBlock, &LVScope::getIsBlock}, 86 {LVScopeKind::IsCallSite, &LVScope::getIsCallSite}, 87 {LVScopeKind::IsCatchBlock, &LVScope [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 | LVReader.cpp | 29 bool checkIntegrityScopesTree(LVScope *Root) { in checkIntegrityScopesTree() 30 using LVDuplicateEntry = std::tuple<LVElement *, LVScope *, LVScope *>; in checkIntegrityScopesTree() 34 using LVIntegrity = std::map<LVElement *, LVScope *>; in checkIntegrityScopesTree() 38 auto AddElement = [&](LVElement *Element, LVScope *Scope) { in checkIntegrityScopesTree() 48 std::function<void(LVScope * Parent)> TraverseScope = [&](LVScope *Parent) { in checkIntegrityScopesTree() 55 for (LVScope *Scope : *Scopes) { in checkIntegrityScopesTree() 96 LVScope *First; in checkIntegrityScopesTree() 97 LVScope *Second; in checkIntegrityScopesTree()
|
H A D | LVElement.cpp | 15 #include "llvm/DebugInfo/LogicalView/Core/LVScope.h" 36 LVScope *LVElement::getTypeAsScope() const { in getTypeAsScope() 38 ? static_cast<LVScope *>(ElementType) in getTypeAsScope() 238 LVScope *Parent = getParentScope(); in resolveParents() 245 LVScope *Scope = getParentScope(); in generateName() 267 void LVElement::updateLevel(LVScope *Parent, bool Moved) { 419 LVScope *LVElement::traverseParents(LVScopeGetFunction GetFunction) const { 420 LVScope *Parent = getParentScope(); in traverseParents() 426 LVScope *LVElement::getFunctionParent() const { 427 return traverseParents(&LVScope [all...] |
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() 316 LVScope *InsertionPoint = ScopeLinks[Parent]; in execute() 354 for (const LVScope *Scope : ScopeStack) { in printCurrentStack()
|
H A D | LVType.cpp | 237 !LVScope::equals(&ReferenceScopes, &TargetScopes)) in parametersMatch() 347 LVScope *Aggregate = getTypeAsScope(); in resolveExtra() 434 LVScope *ArgScope = getTypeAsScope(); in encodeTemplateArgument()
|
H A D | LVSymbol.cpp | 193 LVScope *Parent = getParentScope(); in calculateCoverage() 201 LVScope *Scope = in calculateCoverage()
|
H A D | LVOptions.cpp | 482 ? static_cast<LVScope *>(Element) in addElement() 548 bool LVPatterns::printElement(const LVScope *Scope) const { in printElement()
|
H A D | LVObject.cpp | 89 void LVObject::setParent(LVScope *Scope) { in setParent()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
H A D | LVScope.h | 30 using LVPublicNames = std::map<LVScope *, LVNameInfo>; 73 class LVScope : public LVElement { 111 LVScope *findIn(const LVScopes *Targets) const; 147 LVScope() : LVElement(LVSubclassID::LV_SCOPE) { in LVScope() function 151 LVScope(const LVScope &) = delete; 152 LVScope &operator=(const LVScope &) = delete; 153 virtual ~LVScope() = default; 214 void addElement(LVScope *Scope); 223 void addMissingElements(LVScope *Reference); 238 LVScope *outermostParent(LVAddress Address); [all …]
|
H A D | LVRange.h | 28 LVScope *Scope = nullptr; 34 LVRangeEntry(LVAddress LowerAddress, LVAddress UpperAddress, LVScope *Scope) in LVRangeEntry() 42 LVScope *scope() const { return Scope; } in scope() 51 using LVRangesTree = IntervalTree<LVAddress, LVScope *>; 66 void addEntry(LVScope *Scope, LVAddress LowerAddress, LVAddress UpperAddress); 67 void addEntry(LVScope *Scope); 68 LVScope *getEntry(LVAddress Address) const; 69 LVScope *getEntry(LVAddress LowerAddress, LVAddress UpperAddress) const;
|
H A D | LVObject.h | 50 class LVScope; variable 69 using LVScopeSetFunction = void (LVScope::*)(); 70 using LVScopeGetFunction = bool (LVScope::*)() const; 80 using LVScopes = SmallVector<LVScope *, 8>; 147 LVScope *Scope; 253 LVScope *getParentScope() const { in getParentScope() 254 assert((!Parent.Scope || static_cast<LVScope *>(Parent.Scope)) && in getParentScope() 263 void setParent(LVScope *Scope);
|
H A D | LVElement.h | 221 virtual void setReference(LVScope *Scope) {} in setReference() 299 LVScope *getTypeAsScope() const; 320 LVScope *traverseParents(LVScopeGetFunction GetFunction) const; 322 LVScope *getFunctionParent() const; 323 virtual LVScope *getCompileUnitParent() const; 330 LVScope *Scope) const; 341 virtual void updateLevel(LVScope *Parent, bool Moved = false);
|
H A D | LVReader.h | 247 void setCompileUnit(LVScope *Scope) { in setCompileUnit() 271 virtual LVSectionIndex getSectionIndex(LVScope *Scope) { in getSectionIndex() 287 void notifyAddedElement(LVScope *Scope) { in notifyAddedElement() 312 bool doPrintScope(const LVScope *Scope) const { in doPrintScope()
|
H A D | LVCompare.h | 65 void push(LVScope *Scope) { ScopeStack.push_back(Scope); } in push()
|
H A D | LVOptions.h | 556 ScopeDispatch = LVScope::getDispatch(); in LVPatterns() 610 void resolvePatternMatch(LVScope *Scope) { in resolvePatternMatch() 631 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; 180 getSection(LVScope *Scope, LVAddress Address, LVSectionIndex SectionIndex); 182 void addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope); 183 void addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope, [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 | 44 LVScope *CurrentScope = nullptr; 86 void traverseDieAndChildren(DWARFDie &DIE, LVScope *Parent, 89 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() 55 LVScope *Function = SymbolNames[SymbolName].Scope; in add() 61 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() 371 LVScope *Scope) { in addSectionRange() 377 LVScope *Scope, LVAddress LowerAddress, in addSectionRange() 394 Error LVBinaryReader::createInstructions(LVScope *Scope, in createInstructions() [all …]
|
H A D | LVCodeViewVisitor.cpp | 222 using Names = std::map<StringRef, LVScope *>; 230 void add(StringRef Name, LVScope *Namespace) { in add() 240 LVScope *get(LVStringRefs Components); 241 LVScope *get(StringRef Name, bool CheckScope = true); 244 LVScope *find(StringRef Name) { in find() 245 LVScope *Namespace = (NamespaceNames.find(Name) != NamespaceNames.end()) in find() 435 LVScope *LVNamespaceDeduction::get(LVStringRefs Components) { in get() 445 LVScope *Namespace = nullptr; in get() 446 LVScope *Parent = Shared->Reader->getCompileUnit(); in get() 465 LVScope *LVNamespaceDeduction::get(StringRef ScopedName, bool CheckScope) { in get() [all …]
|
H A D | LVDWARFReader.cpp | 519 LVScope *LVDWARFReader::processOneDie(const DWARFDie &InputDIE, LVScope *Parent, in processOneDie() 692 void LVDWARFReader::traverseDieAndChildren(DWARFDie &DIE, LVScope *Parent, in traverseDieAndChildren() 695 LVScope *Scope = processOneDie(DIE, Parent, SkeletonDie); in traverseDieAndChildren()
|
H A D | LVCodeViewReader.cpp | 21 #include "llvm/DebugInfo/LogicalView/Core/LVScope.h" 762 LVScope *Function = SymbolTableEntry.Scope; in traverseSymbolSection() 1120 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.
|