Home
last modified time | relevance | path

Searched refs:getSectionNumber (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DCOFFLinkGraphBuilder.cpp218 COFFSectionIndex SectionIndex = Sym->getSectionNumber(); in graphifySymbols()
339 setGraphSymbol(AliasSymbol->getSectionNumber(), WeakExternal.Alias, in flushWeakAliasRequests()
345 << AliasSymbol->getSectionNumber() << "\n"; in flushWeakAliasRequests()
379 << getCOFFSectionName(Symbol.getSectionNumber(), Section, Symbol) in createExternalSymbol()
380 << " (index: " << Symbol.getSectionNumber() << ") \n"; in createExternalSymbol()
478 if (llvm::COFF::isReservedSectionNumber(Symbol.getSectionNumber())) in createDefinedSymbol()
483 Block *B = getGraphBlock(Symbol.getSectionNumber()); in createDefinedSymbol()
489 << SymbolName << "\" in section " << Symbol.getSectionNumber() in createDefinedSymbol()
504 if (!PendingComdatExports[Symbol.getSectionNumber()]) in createDefinedSymbol()
530 if (PendingComdatExports[Symbol.getSectionNumber()]) in createDefinedSymbol()
[all...]
H A DCOFF_x86_64.cpp150 SectionIdx = COFFSymbol.getSectionNumber(); in addSingleRelocation()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DObjectFileInterface.cpp168 auto Sec = Obj.getSection(COFFSym.getSectionNumber()); in getCOFFObjectFileSymbolInfo()
173 ComdatDefs[COFFSym.getSectionNumber()] = *Def; in getCOFFObjectFileSymbolInfo()
177 if (!COFF::isReservedSectionNumber(COFFSym.getSectionNumber()) && in getCOFFObjectFileSymbolInfo()
178 ComdatDefs[COFFSym.getSectionNumber()]) { in getCOFFObjectFileSymbolInfo()
179 auto Def = ComdatDefs[COFFSym.getSectionNumber()]; in getCOFFObjectFileSymbolInfo()
183 ComdatDefs[COFFSym.getSectionNumber()] = std::nullopt; in getCOFFObjectFileSymbolInfo()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFReader.cpp126 if (SymRef.getSectionNumber() <= in readSymbols()
128 Sym.TargetSectionId = SymRef.getSectionNumber(); in readSymbols()
129 else if (static_cast<uint32_t>(SymRef.getSectionNumber() - 1) < in readSymbols()
131 Sym.TargetSectionId = Sections[SymRef.getSectionNumber() - 1].UniqueId; in readSymbols()
/freebsd/contrib/llvm-project/lld/COFF/
H A DInputFiles.cpp329 int32_t sectionNumber = sym.getSectionNumber(); in readAssociativeDefinition()
374 int32_t sectionNumber = sym.getSectionNumber(); in recordPrevailingSymbolForMingw()
397 SectionChunk *sc = sparseChunks[sym.getSectionNumber()]; in createRegular()
466 if (sparseChunks[sym.getSectionNumber()] == pendingComdat) { in initializeSymbols()
495 if (sym.getSectionNumber() != section) in findSectionDef()
578 leaderChunk->getSectionNumber()); in handleComdatSelection()
652 int32_t sectionNumber = sym.getSectionNumber(); in createDefined()
H A DInputFiles.h221 return getSection(sym.getSectionNumber()); in getSection()
H A DChunks.h349 uint32_t getSectionNumber() const;
H A DWriter.cpp2315 return sAObj == sBObj && sa->getSectionNumber() < sb->getSectionNumber(); in sortCRTSectionChunks()
2323 ", SectionID: " + Twine(sc->getSectionNumber())); in sortCRTSectionChunks()
H A DChunks.cpp752 uint32_t SectionChunk::getSectionNumber() const { in getSectionNumber() function in lld::coff::SectionChunk
H A DSymbolTable.cpp150 c->file->getDILineInfo(addr, c->getSectionNumber() - 1); in getFileLineDwarf()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DCOFF.h322 int32_t getSectionNumber() const { in getSectionNumber() function
374 return getSectionNumber() == -1; in isAbsolute()
383 getSectionNumber() == COFF::IMAGE_SYM_UNDEFINED && getValue() != 0; in isCommon()
387 return isExternal() && getSectionNumber() == COFF::IMAGE_SYM_UNDEFINED && in isUndefined()
398 !COFF::isReservedSectionNumber(getSectionNumber()); in isFunctionDefinition()
422 getSectionNumber() == COFF::IMAGE_SYM_ABSOLUTE; in isSectionDefinition()
H A DXCOFFObjectFile.h821 int16_t getSectionNumber() const { return GETVALUE(SectionNumber); }
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DXCOFFObjectFile.cpp318 int16_t SecNum = XCOFFSym.getSectionNumber(); in getSymbolType()
323 getSectionByNum(XCOFFSym.getSectionNumber()); in getSymbolType()
359 const int16_t SectNum = toSymbolRef(Symb).getSectionNumber(); in getSymbolSection()
653 if (XCOFFSym.getSectionNumber() == XCOFF::N_ABS) in getSymbolFlags()
673 if (XCOFFSym.getSectionNumber() == XCOFF::N_UNDEF) in getSymbolFlags()
823 const int16_t SectionNum = SymEntPtr.getSectionNumber(); in getSymbolSectionName()
843 return XCOFFSymRef.getSectionNumber(); in getSymbolSectionID()
H A DCOFFObjectFile.cpp168 int32_t SectionNumber = Symb.getSectionNumber(); in getSymbolAddress()
188 int32_t SectionNumber = Symb.getSectionNumber(); in getSymbolType()
222 if (Symb.getSectionNumber() == COFF::IMAGE_SYM_ABSOLUTE) in getSymbolFlags()
248 if (COFF::isReservedSectionNumber(Symb.getSectionNumber())) in getSymbolSection()
250 Expected<const coff_section *> Sec = getSection(Symb.getSectionNumber()); in getSymbolSection()
260 return Symb.getSectionNumber(); in getSymbolSectionID()
1954 Obj->getSection(Sym->getSectionNumber()); in getContents()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp824 W.startLine() << "Invalid symbol name: " << Symbol.getSectionNumber() in mapRangeAddress()
833 Object->getSection(Symbol.getSectionNumber()); in mapRangeAddress()
835 W.startLine() << "Invalid section number: " << Symbol.getSectionNumber() in mapRangeAddress()
840 W.printNumber("Section #", Symbol.getSectionNumber()); in mapRangeAddress()
846 addToSymbolTable(SymbolName, Symbol.getValue(), Symbol.getSectionNumber(), in mapRangeAddress()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DWin64EHDumper.cpp140 if (CS.getSectionNumber() == CoffSym.getSectionNumber() && in getPreferredSymbol()
H A DCOFFDumper.cpp1644 Obj->getSection(Symbol.getSectionNumber()); in printSymbol()
1646 W.startLine() << "Invalid section number: " << Symbol.getSectionNumber() in printSymbol()
1660 getSectionName(Obj, Symbol.getSectionNumber(), Section)) in printSymbol()
1665 W.printNumber("Section", SectionName, Symbol.getSectionNumber()); in printSymbol()
H A DARMWinEHPrinter.cpp274 if (CS.getSectionNumber() == CoffSym.getSectionNumber() && in getPreferredSymbol()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/COFF/
H A DObjectFileCOFF.cpp283 int16_t SecIdx = static_cast<int16_t>(COFFSymRef.getSectionNumber()); in ParseSymtab()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp852 << "(sec " << format("%2d", int(Symbol->getSectionNumber())) << ")" in printCOFFSymbolTable()
H A Dllvm-objdump.cpp2976 if (XCOFF::N_DEBUG == XCOFFSym.getSectionNumber()) in printSymbol()
/freebsd/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp931 if (!COFF::isReservedSectionNumber(Symb.getSectionNumber())) { in getSymbolNMTypeChar()
945 switch (Symb.getSectionNumber()) { in getSymbolNMTypeChar()