Home
last modified time | relevance | path

Searched refs:NumberOfSections (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DCOFFImportFile.cpp229 const uint32_t NumberOfSections = 2; in createImportDescriptor() local
236 u16(NumberOfSections), in createImportDescriptor()
251 const coff_section SectionTable[NumberOfSections] = { in createImportDescriptor()
369 const uint32_t NumberOfSections = 1; in createNullImportDescriptor() local
375 u16(NumberOfSections), in createNullImportDescriptor()
387 const coff_section SectionTable[NumberOfSections] = { in createNullImportDescriptor()
393 (NumberOfSections * sizeof(coff_section))), in createNullImportDescriptor()
429 const uint32_t NumberOfSections = 2; in createNullThunk() local
436 u16(NumberOfSections), in createNullThunk()
546 const uint32_t NumberOfSections = 1; in createWeakExternal() local
[all …]
H A DMachOUniversalWriter.cpp46 unsigned NumberOfSections = in calculateFileAlignment() local
49 P2CurrentAlignment = NumberOfSections ? 2 : P2MinAlignment; in calculateFileAlignment()
50 for (unsigned SI = 0; SI < NumberOfSections; ++SI) { in calculateFileAlignment()
H A DXCOFFObjectFile.cpp576 const uint16_t NumberOfSections = getNumberOfSections(); in getRelocationOffset() local
577 for (uint16_t I = 0; I < NumberOfSections; ++I) { in getRelocationOffset()
590 const uint16_t NumberOfSections = getNumberOfSections(); in getRelocationOffset() local
591 for (uint16_t I = 0; I < NumberOfSections; ++I) { in getRelocationOffset()
843 return is64Bit() ? fileHeader64()->NumberOfSections in getNumberOfSections()
844 : fileHeader32()->NumberOfSections; in getNumberOfSections()
H A DWindowsResource.cpp732 Header->NumberOfSections = 2; in writeCOFFHeader()
H A DCOFFObjectFile.cpp870 COFFHeader->NumberOfSections == uint16_t(0xffff) && in initialize()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DCOFF.cpp83 COFFHeader->NumberOfSections == uint16_t(0xffff) && in createLinkGraphFromCOFFObject()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DCOFF.h66 int32_t NumberOfSections; member
87 uint32_t NumberOfSections; member
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DXCOFFEmitter.cpp237 InitFileHdr.NumberOfSections = Obj.Sections.size(); in initFileHeader()
355 W.write<uint16_t>(Obj.Header.NumberOfSections ? Obj.Header.NumberOfSections in writeFileHeader()
356 : InitFileHdr.NumberOfSections); in writeFileHeader()
H A DCOFFEmitter.cpp295 CP.Obj.Header.NumberOfSections = CP.Obj.Sections.size(); in layoutCOFF()
430 << zeros(uint32_t(0)) << binary_le(CP.Obj.Header.NumberOfSections) in writeCOFF()
435 << binary_le(static_cast<int16_t>(CP.Obj.Header.NumberOfSections)) in writeCOFF()
H A DXCOFFYAML.cpp165 IO.mapOptional("NumberOfSections", FileHdr.NumberOfSections); in mapping()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DCOFF.h77 support::ulittle16_t NumberOfSections; member
84 bool isImportLibrary() const { return NumberOfSections == 0xffff; } in isImportLibrary()
98 support::ulittle32_t NumberOfSections; member
943 return COFFHeader->isImportLibrary() ? 0 : COFFHeader->NumberOfSections; in getNumberOfSections()
945 return COFFBigObjHeader->NumberOfSections; in getNumberOfSections()
H A DXCOFFObjectFile.h31 support::ubig16_t NumberOfSections; member
45 support::ubig16_t NumberOfSections; member
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFWriter.cpp199 Obj.CoffFileHeader.NumberOfSections = Obj.getSections().size(); in finalize()
284 BigObjHeader.NumberOfSections = Obj.getSections().size(); in writeHeaders()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DWinCOFFObjectWriter.cpp505 W.write<uint32_t>(Header.NumberOfSections); in WriteFileHeader()
510 W.write<uint16_t>(static_cast<int16_t>(Header.NumberOfSections)); in WriteFileHeader()
771 Offset += COFF::SectionSize * Header.NumberOfSections; in assignFileOffsets()
1023 Header.NumberOfSections = Sections.size(); in writeObject()
/freebsd/stand/efi/include/amd64/
H A Dpe.h75 UINT16 NumberOfSections; member
/freebsd/stand/efi/include/i386/
H A Dpe.h75 UINT16 NumberOfSections; member
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DXCOFFYAML.h25 uint16_t NumberOfSections; member
/freebsd/contrib/llvm-project/libunwind/src/
H A DAddressSpace.hpp565 for (unsigned j = 0; j < pifh->NumberOfSections; j++, pish++) { in findUnwindSections()
/freebsd/contrib/llvm-project/lld/COFF/
H A DWriter.cpp1598 coff->NumberOfSections = ctx.outputSections.size(); in writeHeader()
/freebsd/contrib/file/magic/Magdir/
H A Dmsdos332 # NumberOfSections; Normal Dynamic Link libraries have a few sections for code, data and resource e…