Searched refs:SecIndex (Results 1 – 7 of 7) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | COFFLinkGraphBuilder.h | 54 void setGraphSymbol(COFFSectionIndex SecIndex, COFFSymbolIndex SymIndex, in setGraphSymbol() argument 58 if (!COFF::isReservedSectionNumber(SecIndex)) in setGraphSymbol() 59 SymbolSets[SecIndex].insert({Sym.getOffset(), &Sym}); in setGraphSymbol() 69 void setGraphBlock(COFFSectionIndex SecIndex, Block *B) { in setGraphBlock() argument 70 assert(!GraphBlocks[SecIndex] && "Duplicate section at index"); in setGraphBlock() 71 assert(!COFF::isReservedSectionNumber(SecIndex) && "Invalid section index"); in setGraphBlock() 72 GraphBlocks[SecIndex] = B; in setGraphBlock() 75 Block *getGraphBlock(COFFSectionIndex SecIndex) const { in getGraphBlock() argument 76 if (SecIndex <= 0 || in getGraphBlock() 77 SecIndex >= static_cast<COFFSectionIndex>(GraphSymbols.size())) in getGraphBlock() [all …]
|
| H A D | ELFLinkGraphBuilder.h | 89 void setGraphBlock(ELFSectionIndex SecIndex, Block *B) { in setGraphBlock() argument 90 assert(!GraphBlocks.count(SecIndex) && "Duplicate section at index"); in setGraphBlock() 91 GraphBlocks[SecIndex] = B; in setGraphBlock() 94 Block *getGraphBlock(ELFSectionIndex SecIndex) { in getGraphBlock() argument 95 return GraphBlocks.lookup(SecIndex); in getGraphBlock() 317 for (ELFSectionIndex SecIndex = 0; SecIndex != Sections.size(); ++SecIndex) { in graphifySections() local 319 auto &Sec = Sections[SecIndex]; in graphifySections() 327 dbgs() << " " << SecIndex << ": Skipping section \"" << *Name in graphifySections() 336 dbgs() << " " << SecIndex << ": has type SHT_NULL. Skipping.\n"; in graphifySections() 345 dbgs() << " " << SecIndex << ": \"" << *Name in graphifySections() [all …]
|
| H A D | COFFLinkGraphBuilder.cpp | 120 for (COFFSectionIndex SecIndex = 1; in graphifySections() local 121 SecIndex <= static_cast<COFFSectionIndex>(Obj.getNumberOfSections()); in graphifySections() 122 SecIndex++) { in graphifySections() 123 Expected<const object::coff_section *> Sec = Obj.getSection(SecIndex); in graphifySections() 188 setGraphBlock(SecIndex, B); in graphifySections() 407 for (COFFSectionIndex SecIndex = 1; in calculateImplicitSizeOfSymbols() local 408 SecIndex <= static_cast<COFFSectionIndex>(Obj.getNumberOfSections()); in calculateImplicitSizeOfSymbols() 409 SecIndex++) { in calculateImplicitSizeOfSymbols() 410 auto &SymbolSet = SymbolSets[SecIndex]; in calculateImplicitSizeOfSymbols() 413 jitlink::Block *B = getGraphBlock(SecIndex); in calculateImplicitSizeOfSymbols()
|
| H A D | MachOLinkGraphBuilder.cpp | 124 auto SecIndex = Obj.getSectionIndex(SecRef.getRawDataRefImpl()); in createNormalizedSections() local 159 << ", align: " << NSec.Alignment << ", index: " << SecIndex in createNormalizedSections() 190 IndexToSection.insert(std::make_pair(SecIndex, std::move(NSec))); in createNormalizedSections() 320 unsigned SecIndex, Section &GraphSec, orc::ExecutorAddr Address, in addSectionStartSymAndBlock() argument 328 auto SecI = IndexToSection.find(SecIndex); in addSectionStartSymAndBlock() 404 auto SecIndex = KV.first; in graphifyRegularSymbols() local 425 NSec, std::move(SecIndexToSymbols[SecIndex]))) in graphifyRegularSymbols() 437 auto &SecNSymStack = SecIndexToSymbols[SecIndex]; in graphifyRegularSymbols() 449 addSectionStartSymAndBlock(SecIndex, *NSec.GraphSection, NSec.Address, in graphifyRegularSymbols() 488 addSectionStartSymAndBlock(SecIndex, *NSec.GraphSection, NSec.Address, in graphifyRegularSymbols()
|
| H A D | MachOLinkGraphBuilder.h | 197 void addSectionStartSymAndBlock(unsigned SecIndex, Section &GraphSec,
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | ObjDumper.cpp | 111 unsigned SecIndex; in getSectionRefsByNameOrIndex() local 113 if (!Section.getAsInteger(0, SecIndex)) in getSectionRefsByNameOrIndex() 114 SecIndices.emplace(SecIndex, false); in getSectionRefsByNameOrIndex() 119 SecIndex = Obj.isELF() ? 0 : 1; in getSectionRefsByNameOrIndex() 125 auto IndexIt = SecIndices.find(SecIndex); in getSectionRefsByNameOrIndex() 130 SecIndex++; in getSectionRefsByNameOrIndex()
|
| H A D | ARMEHABIPrinter.h | 504 std::optional<unsigned> SecIndex = in PrintExceptionTable() local 506 if (ErrorOr<StringRef> Name = FunctionAtAddress(Address, SecIndex)) in PrintExceptionTable() 577 std::optional<unsigned> SecIndex = in PrintIndexTable() local 579 if (ErrorOr<StringRef> Name = FunctionAtAddress(Address, SecIndex)) in PrintIndexTable()
|