Home
last modified time | relevance | path

Searched refs:SecIndex (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DCOFFLinkGraphBuilder.h53 void setGraphSymbol(COFFSectionIndex SecIndex, COFFSymbolIndex SymIndex,
57 if (!COFF::isReservedSectionNumber(SecIndex)) in setGraphSymbol()
58 SymbolSets[SecIndex].insert({Sym.getOffset(), &Sym}); in setGraphSymbol()
68 void setGraphBlock(COFFSectionIndex SecIndex, Block *B) {
69 assert(!GraphBlocks[SecIndex] && "Duplicate section at index"); in setGraphBlock() argument
70 assert(!COFF::isReservedSectionNumber(SecIndex) && "Invalid section index"); in setGraphBlock()
71 GraphBlocks[SecIndex] = B; in setGraphBlock()
74 Block *getGraphBlock(COFFSectionIndex SecIndex) const {
75 if (SecIndex <= 0 || in getGraphBlock() argument
76 SecIndex > in getGraphBlock()
54 setGraphSymbol(COFFSectionIndex SecIndex,COFFSymbolIndex SymIndex,Symbol & Sym) setGraphSymbol() argument
[all...]
H A DELFLinkGraphBuilder.h88 void setGraphBlock(ELFSectionIndex SecIndex, Block *B) { in setGraphBlock() argument
89 assert(!GraphBlocks.count(SecIndex) && "Duplicate section at index"); in setGraphBlock()
90 GraphBlocks[SecIndex] = B; in setGraphBlock()
93 Block *getGraphBlock(ELFSectionIndex SecIndex) { in getGraphBlock() argument
94 return GraphBlocks.lookup(SecIndex); in getGraphBlock()
316 for (ELFSectionIndex SecIndex = 0; SecIndex != Sections.size(); ++SecIndex) { in graphifySections() local
318 auto &Sec = Sections[SecIndex]; in graphifySections()
326 dbgs() << " " << SecIndex << ": Skipping section \"" << *Name in graphifySections()
335 dbgs() << " " << SecIndex << ": has type SHT_NULL. Skipping.\n"; in graphifySections()
344 dbgs() << " " << SecIndex << ": \"" << *Name in graphifySections()
[all …]
H A DCOFFLinkGraphBuilder.cpp126 for (COFFSectionIndex SecIndex = 1; in graphifySections()
127 SecIndex <= static_cast<COFFSectionIndex>(Obj.getNumberOfSections()); in graphifySections()
128 SecIndex++) { in graphifySections()
129 Expected<const object::coff_section *> Sec = Obj.getSection(SecIndex); in graphifySections()
194 setGraphBlock(SecIndex, B); in graphifySections()
406 for (COFFSectionIndex SecIndex = 1; in calculateImplicitSizeOfSymbols()
407 SecIndex <= static_cast<COFFSectionIndex>(Obj.getNumberOfSections()); in calculateImplicitSizeOfSymbols()
408 SecIndex++) { in calculateImplicitSizeOfSymbols()
409 auto &SymbolSet = SymbolSets[SecIndex]; in calculateImplicitSizeOfSymbols()
412 jitlink::Block *B = getGraphBlock(SecIndex); in calculateImplicitSizeOfSymbols()
125 for (COFFSectionIndex SecIndex = 1; graphifySections() local
405 for (COFFSectionIndex SecIndex = 1; calculateImplicitSizeOfSymbols() local
[all...]
H A DMachOLinkGraphBuilder.cpp132 auto SecIndex = Obj.getSectionIndex(SecRef.getRawDataRefImpl()); in createNormalizedSections()
167 << ", align: " << NSec.Alignment << ", index: " << SecIndex in createNormalizedSections()
198 IndexToSection.insert(std::make_pair(SecIndex, std::move(NSec))); in createNormalizedSections()
329 unsigned SecIndex, Section &GraphSec, orc::ExecutorAddr Address, in addSectionStartSymAndBlock()
337 auto SecI = IndexToSection.find(SecIndex); in addSectionStartSymAndBlock()
338 assert(SecI != IndexToSection.end() && "SecIndex invalid"); in addSectionStartSymAndBlock()
413 auto SecIndex = KV.first; in graphifyRegularSymbols()
434 NSec, std::move(SecIndexToSymbols[SecIndex]))) in graphifyRegularSymbols()
446 auto &SecNSymStack = SecIndexToSymbols[SecIndex]; in graphifyRegularSymbols()
458 addSectionStartSymAndBlock(SecIndex, *NSe in graphifyRegularSymbols()
131 auto SecIndex = Obj.getSectionIndex(SecRef.getRawDataRefImpl()); createNormalizedSections() local
328 addSectionStartSymAndBlock(unsigned SecIndex,Section & GraphSec,orc::ExecutorAddr Address,const char * Data,orc::ExecutorAddrDiff Size,uint32_t Alignment,bool IsLive) addSectionStartSymAndBlock() argument
412 auto SecIndex = KV.first; graphifyRegularSymbols() local
[all...]
H A DMachOLinkGraphBuilder.h197 void addSectionStartSymAndBlock(unsigned SecIndex, Section &GraphSec,
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DObjDumper.cpp109 unsigned SecIndex; in getSectionRefsByNameOrIndex() local
111 if (!Section.getAsInteger(0, SecIndex)) in getSectionRefsByNameOrIndex()
112 SecIndices.emplace(SecIndex, false); in getSectionRefsByNameOrIndex()
117 SecIndex = Obj.isELF() ? 0 : 1; in getSectionRefsByNameOrIndex()
123 auto IndexIt = SecIndices.find(SecIndex); in getSectionRefsByNameOrIndex()
128 SecIndex++; in getSectionRefsByNameOrIndex()
H A DARMEHABIPrinter.h504 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()