Home
last modified time | relevance | path

Searched refs:Characteristics (Results 1 – 25 of 46) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSectionCOFF.h32 mutable unsigned Characteristics; variable
52 MCSectionCOFF(StringRef Name, unsigned Characteristics, in MCSectionCOFF() argument
55 : MCSection(SV_COFF, Name, K, Begin), Characteristics(Characteristics), in MCSectionCOFF()
57 assert((Characteristics & 0x00F00000) == 0 && in MCSectionCOFF()
66 unsigned getCharacteristics() const { return Characteristics; } in getCharacteristics()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCOFFYAML.cpp244 void ScalarBitSetTraits<COFF::Characteristics>::bitset( in bitset()
245 IO &IO, COFF::Characteristics &Value) { in bitset()
324 uint32_t denormalize(IO &) { return Characteristics; } in denormalize()
337 COFF::SectionCharacteristics Characteristics; member
370 NHeaderCharacteristics(IO &) : Characteristics(COFF::Characteristics(0)) {} in NHeaderCharacteristics()
372 : Characteristics(COFF::Characteristics(C)) {} in NHeaderCharacteristics()
376 COFF::Characteristics Characteristics; member
401 : Characteristics(COFF::DLLCharacteristics(C)) {} in NDLLCharacteristics()
405 COFF::DLLCharacteristics Characteristics; member
518 IO, AWE.Characteristics); in mapping()
[all …]
H A DCOFFEmitter.cpp99 Sec.Header.Characteristics |= (Log2_32(Sec.Alignment) + 1) << 20; in parseSections()
262 if (S.Header.Characteristics & COFF::IMAGE_SCN_LNK_NRELOC_OVFL) { in layoutCOFF()
363 if (S.Header.Characteristics & COFF::IMAGE_SCN_CNT_CODE) in initializeOptionalHeader()
365 if (S.Header.Characteristics & COFF::IMAGE_SCN_CNT_INITIALIZED_DATA) in initializeOptionalHeader()
367 if (S.Header.Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) in initializeOptionalHeader()
447 << binary_le(CP.Obj.Header.Characteristics); in writeCOFF()
489 << binary_le(i->Header.Characteristics); in writeCOFF()
511 if (S.Header.Characteristics & COFF::IMAGE_SCN_LNK_NRELOC_OVFL) in writeCOFF()
562 << binary_le(i->WeakExternal->Characteristics) in writeCOFF()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/
H A DCOFFObjcopy.cpp61 uint32_t Characteristics) { in addSection() argument
62 bool NeedVA = Characteristics & (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ | in addSection()
79 Sec.Header.Characteristics = Characteristics; in addSection()
111 (Sec.Header.Characteristics & PreserveMask) | IMAGE_SCN_MEM_READ; in setSectionFlags()
131 Sec.Header.Characteristics = NewCharacteristics; in setSectionFlags()
145 (Sec.Header.Characteristics & IMAGE_SCN_MEM_DISCARDABLE) != 0) in handleArgs()
160 ((Sec.Header.Characteristics & in handleArgs()
H A DWriter.cpp102 S.Header.Characteristics |= COFF::IMAGE_SCN_LNK_NRELOC_OVFL; in layoutSections()
114 if (S.Header.Characteristics & IMAGE_SCN_CNT_INITIALIZED_DATA) in layoutSections()
313 if ((S.Header.Characteristics & IMAGE_SCN_CNT_CODE) && in writeSections()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DWindowsResource.h89 support::ulittle32_t Characteristics; member
112 uint32_t getCharacteristics() const { return Suffix->Characteristics; } in getCharacteristics()
177 uint32_t getCharacteristics() const { return Characteristics; } in getCharacteristics()
193 uint32_t Characteristics,
199 uint32_t Characteristics, uint32_t Origin, uint32_t DataIndex);
213 uint32_t Characteristics, uint32_t Origin,
227 uint32_t Characteristics = 0; variable
H A DCOFF.h82 support::ulittle16_t Characteristics; member
178 support::ulittle32_t Characteristics; member
450 support::ulittle32_t Characteristics; member
455 return (Characteristics & COFF::IMAGE_SCN_LNK_NRELOC_OVFL) && in hasExtendedRelocations()
462 if (Characteristics & COFF::IMAGE_SCN_TYPE_NO_PAD) in getAlignment()
467 uint32_t Shift = (Characteristics >> 20) & 0xF; in getAlignment()
504 support::ulittle32_t Characteristics; member
575 support::ulittle32_t Characteristics; member
592 Characteristics = in setAlignment()
593 (Characteristics & ~COFF::IMAGE_SCN_ALIGN_MASK) | AlignBits; in setAlignment()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DCOFFYAML.h30 inline Characteristics operator|(Characteristics a, Characteristics b) {
32 return static_cast<Characteristics>(Ret);
184 struct ScalarBitSetTraits<COFF::Characteristics> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
185 static void bitset(IO &IO, COFF::Characteristics &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DCOFFMasmParser.cpp43 bool ParseSectionSwitch(StringRef Section, unsigned Characteristics,
46 bool ParseSectionSwitch(StringRef Section, unsigned Characteristics,
233 unsigned Characteristics, in ParseSectionSwitch() argument
235 return ParseSectionSwitch(Section, Characteristics, Kind, "", in ParseSectionSwitch()
240 unsigned Characteristics, in ParseSectionSwitch() argument
249 Section, Characteristics, Kind, COMDATSymName, Type)); in ParseSectionSwitch()
H A DCOFFAsmParser.cpp43 unsigned Characteristics,
46 bool ParseSectionSwitch(StringRef Section, unsigned Characteristics,
311 unsigned Characteristics, in ParseSectionSwitch() argument
313 return ParseSectionSwitch(Section, Characteristics, Kind, "", (COFF::COMDATType)0); in ParseSectionSwitch()
317 unsigned Characteristics, in ParseSectionSwitch() argument
326 Section, Characteristics, Kind, COMDATSymName, Type)); in ParseSectionSwitch()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DWindowsResource.cpp457 uint32_t Characteristics, in TreeNode() argument
460 MinorVersion(MinorVersion), Characteristics(Characteristics), in TreeNode()
476 uint32_t Characteristics, in createDataNode() argument
480 MajorVersion, MinorVersion, Characteristics, Origin, DataIndex)); in createDataNode()
514 uint32_t Characteristics, uint32_t Origin, uint32_t DataIndex, in addDataChild() argument
741 Header->Characteristics = COFF::IMAGE_FILE_32BIT_MACHINE; in writeCOFFHeader()
758 SectionOneHeader->Characteristics += COFF::IMAGE_SCN_CNT_INITIALIZED_DATA; in writeFirstSectionHeader()
759 SectionOneHeader->Characteristics += COFF::IMAGE_SCN_MEM_READ; in writeFirstSectionHeader()
776 SectionTwoHeader->Characteristics = COFF::IMAGE_SCN_CNT_INITIALIZED_DATA; in writeSecondSectionHeader()
777 SectionTwoHeader->Characteristics += COFF::IMAGE_SCN_MEM_READ; in writeSecondSectionHeader()
[all …]
/freebsd-13.1/stand/efi/include/i386/
H A Dpe.h81 UINT16 Characteristics; member
246 UINT32 Characteristics; member
549 UINT32 Characteristics; member
584 UINT32 Characteristics; member
594 UINT32 Characteristics; member
/freebsd-13.1/stand/efi/include/amd64/
H A Dpe.h81 UINT16 Characteristics; member
246 UINT32 Characteristics; member
549 UINT32 Characteristics; member
584 UINT32 Characteristics; member
/freebsd-13.1/contrib/llvm-project/lld/COFF/
H A DWriter.cpp134 d->Characteristics = 0; in fillEntry()
324 header.Characteristics &= ~permMask; in setPermissions()
325 header.Characteristics |= c; in setPermissions()
1357 coff->Characteristics = IMAGE_FILE_EXECUTABLE_IMAGE; in writeHeader()
1359 coff->Characteristics |= IMAGE_FILE_LARGE_ADDRESS_AWARE; in writeHeader()
1361 coff->Characteristics |= IMAGE_FILE_32BIT_MACHINE; in writeHeader()
1363 coff->Characteristics |= IMAGE_FILE_DLL; in writeHeader()
1365 coff->Characteristics |= IMAGE_FILE_UP_SYSTEM_ONLY; in writeHeader()
1367 coff->Characteristics |= IMAGE_FILE_RELOCS_STRIPPED; in writeHeader()
1371 coff->Characteristics |= IMAGE_FILE_NET_RUN_FROM_SWAP; in writeHeader()
[all …]
H A DMapFile.cpp268 (sec->header.Characteristics & COFF::IMAGE_SCN_CNT_CODE) && in writeMapFile()
269 (sec->header.Characteristics & COFF::IMAGE_SCN_MEM_READ) && in writeMapFile()
270 (sec->header.Characteristics & COFF::IMAGE_SCN_MEM_EXECUTE); in writeMapFile()
H A DWriter.h42 header.Characteristics = chars; in OutputSection()
H A DPDB.cpp729 sc.Characteristics = secChunk->header->Characteristics; in createSectionContrib()
736 sc.Characteristics = os ? os->header.Characteristics : 0; in createSectionContrib()
1449 cgs.Characteristics = sec->characteristics; in addLinkerModuleCoffGroup()
1455 cgs.Characteristics |= llvm::COFF::IMAGE_SCN_MEM_WRITE; in addLinkerModuleCoffGroup()
1465 sym.Characteristics = os.header.Characteristics; in addLinkerModuleSectionSymbol()
H A DInputFiles.cpp221 if (sec->Characteristics & IMAGE_SCN_LNK_COMDAT) in initializeChunks()
271 if (sec->Characteristics & llvm::COFF::IMAGE_SCN_LNK_REMOVE) in readSection()
1043 FakeSection(int c) { section.Characteristics = c; } in FakeSection()
1141 return (sec->Characteristics & COFF::IMAGE_SCN_CNT_CODE) != 0; in isRVACode()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DCOFF.h72 uint16_t Characteristics; member
123 enum Characteristics : unsigned { enum
280 uint32_t Characteristics; member
435 uint32_t Characteristics; member
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DWinCOFFObjectWriter.cpp326 Section->Header.Characteristics = MCSec.getCharacteristics(); in defineSection()
327 Section->Header.Characteristics |= getAlignment(MCSec); in defineSection()
400 Sym->Aux[0].Aux.WeakExternal.Characteristics = in DefineSymbol()
486 return (S->Header.Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) == in IsPhysicalSection()
515 W.write<uint16_t>(Header.Characteristics); in WriteFileHeader()
538 W.write<uint32_t>(i.Aux.WeakExternal.Characteristics); in WriteAuxiliarySymbols()
581 S.Characteristics |= COFF::IMAGE_SCN_LNK_NRELOC_OVFL; in writeSectionHeaders()
591 W.write<uint32_t>(S.Characteristics); in writeSectionHeaders()
913 Sym->Section->Header.Characteristics & COFF::IMAGE_SCN_LNK_COMDAT) in setWeakDefaultNames()
H A DMCContext.cpp629 unsigned Characteristics, in getCOFFSection() argument
654 CachedName, Characteristics, COMDATSymbol, Selection, Kind, Begin); in getCOFFSection()
661 unsigned Characteristics, in getCOFFSection() argument
664 return getCOFFSection(Section, Characteristics, Kind, "", 0, GenericSectionID, in getCOFFSection()
677 unsigned Characteristics = Sec->getCharacteristics(); in getAssociativeCOFFSection() local
679 Characteristics |= COFF::IMAGE_SCN_LNK_COMDAT; in getAssociativeCOFFSection()
680 return getCOFFSection(Sec->getName(), Characteristics, Sec->getKind(), in getAssociativeCOFFSection()
685 return getCOFFSection(Sec->getName(), Characteristics, Sec->getKind(), "", 0, in getAssociativeCOFFSection()
H A DMCSectionCOFF.cpp34 Characteristics |= COFF::IMAGE_SCN_LNK_COMDAT; in setSelection()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp1593 unsigned Characteristics = getCOFFSectionFlags(Kind, TM); in getExplicitSectionGlobal() local
1607 Characteristics |= COFF::IMAGE_SCN_LNK_COMDAT; in getExplicitSectionGlobal()
1642 unsigned Characteristics = getCOFFSectionFlags(Kind, TM); in SelectSectionForGlobal() local
1644 Characteristics |= COFF::IMAGE_SCN_LNK_COMDAT; in SelectSectionForGlobal()
1672 return getContext().getCOFFSection(Name, Characteristics, Kind, in SelectSectionForGlobal()
1677 return getContext().getCOFFSection(Name, Characteristics, Kind, TmpData, in SelectSectionForGlobal()
1730 unsigned Characteristics = getCOFFSectionFlags(Kind, TM); in getSectionForJumpTable() local
1731 Characteristics |= COFF::IMAGE_SCN_LNK_COMDAT; in getSectionForJumpTable()
1735 SecName, Characteristics, Kind, COMDATSymName, in getSectionForJumpTable()
1975 const unsigned Characteristics = COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | in getSectionForConstant() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp365 static const EnumEntry<COFF::Characteristics> ImageFileCharacteristics[] = {
723 W.printHex("Characteristics", D.Characteristics); in printCOFFDebugDirectory()
758 uint16_t Characteristics = RawData[0]; in printCOFFDebugDirectory() local
759 W.printFlags("ExtendedCharacteristics", Characteristics, in printCOFFDebugDirectory()
1379 W.printFlags ("Characteristics", Section->Characteristics, in printSectionHeaders()
1400 !(Section->Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA)) { in printSectionHeaders()
1543 W.printEnum ("Search", Aux->Characteristics, in printSymbol()
1571 if (Section && Section->Characteristics & COFF::IMAGE_SCN_LNK_COMDAT in printSymbol()
1897 W.printNumber("Characteristics", Table.Characteristics); in printResourceDirectoryTable()
2072 W.printFlags("Characteristics", TlsTable->Characteristics, in printCOFFTLSDirectory()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp870 uint32_t Characteristics = 0; in getSymbolNMTypeChar() local
879 Characteristics = Section->Characteristics; in getSymbolNMTypeChar()
890 if (Characteristics & COFF::IMAGE_SCN_CNT_CODE) in getSymbolNMTypeChar()
892 if (Characteristics & COFF::IMAGE_SCN_CNT_INITIALIZED_DATA) in getSymbolNMTypeChar()
893 return Characteristics & COFF::IMAGE_SCN_MEM_WRITE ? 'd' : 'r'; in getSymbolNMTypeChar()
894 if (Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) in getSymbolNMTypeChar()
896 if (Characteristics & COFF::IMAGE_SCN_LNK_INFO) in getSymbolNMTypeChar()

12