| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCSectionCOFF.h | 32 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()
|
| H A D | MCSymbolCOFF.h | 53 void setWeakExternalCharacteristics(COFF::WeakExternalCharacteristics Characteristics) const { in setWeakExternalCharacteristics() argument 54 modifyFlags(Characteristics << SF_WeakExternalCharacteristicsShift, in setWeakExternalCharacteristics()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | COFFYAML.cpp | 249 void ScalarBitSetTraits<COFF::Characteristics>::bitset( in bitset() 250 IO &IO, COFF::Characteristics &Value) { in bitset() 329 uint32_t denormalize(IO &) { return Characteristics; } in denormalize() 342 COFF::SectionCharacteristics Characteristics; member 375 NHeaderCharacteristics(IO &) : Characteristics(COFF::Characteristics(0)) {} in NHeaderCharacteristics() 377 : Characteristics(COFF::Characteristics(C)) {} in NHeaderCharacteristics() 381 COFF::Characteristics Characteristics; member 406 : Characteristics(COFF::DLLCharacteristics(C)) {} in NDLLCharacteristics() 410 COFF::DLLCharacteristics Characteristics; member 525 IO, AWE.Characteristics); in mapping() [all …]
|
| H A D | COFFEmitter.cpp | 93 Sec.Header.Characteristics |= (Log2_32(Sec.Alignment) + 1) << 20; in parseSections() 255 if (S.Header.Characteristics & COFF::IMAGE_SCN_LNK_NRELOC_OVFL) { in layoutCOFF() 356 if (S.Header.Characteristics & COFF::IMAGE_SCN_CNT_CODE) in initializeOptionalHeader() 358 if (S.Header.Characteristics & COFF::IMAGE_SCN_CNT_INITIALIZED_DATA) in initializeOptionalHeader() 360 if (S.Header.Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) in initializeOptionalHeader() 440 << binary_le(CP.Obj.Header.Characteristics); in writeCOFF() 481 << binary_le(S.Header.Characteristics); in writeCOFF() 504 if (S.Header.Characteristics & COFF::IMAGE_SCN_LNK_NRELOC_OVFL) in writeCOFF() 555 << binary_le(i->WeakExternal->Characteristics) in writeCOFF()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFObjcopy.cpp | 62 uint32_t Characteristics) { in addSection() argument 63 bool NeedVA = Characteristics & (IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ | in addSection() 80 Sec.Header.Characteristics = Characteristics; in addSection() 175 (Sec.Header.Characteristics & IMAGE_SCN_MEM_DISCARDABLE) != 0) in handleArgs() 190 ((Sec.Header.Characteristics & in handleArgs() 259 Sec.Header.Characteristics = flagsToCharacteristics( in handleArgs() 260 It->second.NewFlags, Sec.Header.Characteristics); in handleArgs() 264 uint32_t Characteristics; in handleArgs() local 267 Characteristics = flagsToCharacteristics(It->second.NewFlags, 0); in handleArgs() 269 Characteristics = IMAGE_SCN_CNT_INITIALIZED_DATA | IMAGE_SCN_ALIGN_1BYTES; in handleArgs() [all …]
|
| H A D | COFFWriter.cpp | 104 S.Header.Characteristics |= COFF::IMAGE_SCN_LNK_NRELOC_OVFL; in layoutSections() 116 if (S.Header.Characteristics & IMAGE_SCN_CNT_INITIALIZED_DATA) in layoutSections() 324 if ((S.Header.Characteristics & IMAGE_SCN_CNT_CODE) && in writeSections()
|
| /freebsd-14.2/contrib/llvm-project/lld/COFF/ |
| H A D | Writer.h | 42 header.Characteristics = chars; in OutputSection() 68 return (header.Characteristics & llvm::COFF::IMAGE_SCN_CNT_CODE) && in isCodeSection() 69 (header.Characteristics & llvm::COFF::IMAGE_SCN_MEM_READ) && in isCodeSection() 70 (header.Characteristics & llvm::COFF::IMAGE_SCN_MEM_EXECUTE); in isCodeSection()
|
| H A D | Writer.cpp | 127 d->Characteristics = 0; in fillEntry() 353 header.Characteristics &= ~permMask; in setPermissions() 354 header.Characteristics |= c; in setPermissions() 366 if (other->header.Characteristics & IMAGE_SCN_CNT_CODE) { in merge() 367 header.Characteristics |= IMAGE_SCN_CNT_CODE; in merge() 368 header.Characteristics &= in merge() 1599 coff->Characteristics = IMAGE_FILE_EXECUTABLE_IMAGE; in writeHeader() 1603 coff->Characteristics |= IMAGE_FILE_32BIT_MACHINE; in writeHeader() 1605 coff->Characteristics |= IMAGE_FILE_DLL; in writeHeader() 1607 coff->Characteristics |= IMAGE_FILE_UP_SYSTEM_ONLY; in writeHeader() [all …]
|
| H A D | MapFile.cpp | 270 (sec->header.Characteristics & COFF::IMAGE_SCN_CNT_CODE) && in writeMapFile() 271 (sec->header.Characteristics & COFF::IMAGE_SCN_MEM_READ) && in writeMapFile() 272 (sec->header.Characteristics & COFF::IMAGE_SCN_MEM_EXECUTE); in writeMapFile()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | WindowsResource.h | 89 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 D | COFF.h | 82 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-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | COFFLinkGraphBuilder.cpp | 69 return Section->Characteristics & COFF::IMAGE_SCN_LNK_COMDAT; in isComdatSection() 153 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_MEM_EXECUTE) in graphifySections() 155 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_MEM_READ) in graphifySections() 157 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_MEM_WRITE) in graphifySections() 164 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_LNK_REMOVE) in graphifySections() 171 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) in graphifySections() 244 uint32_t Characteristics = WeakExternal->Characteristics; in graphifySymbols() local 246 {SymIndex, TagIndex, Characteristics, SymbolName}); in graphifySymbols() 331 WeakExternal.Characteristics == COFF::IMAGE_WEAK_EXTERN_SEARCH_ALIAS in flushWeakAliasRequests()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ObjectFile/COFF/ |
| H A D | ObjectFileCOFF.cpp | 210 if (Section->Characteristics & COFF::IMAGE_SCN_CNT_CODE) in CreateSections() 212 if (Section->Characteristics & COFF::IMAGE_SCN_CNT_INITIALIZED_DATA) in CreateSections() 214 if (Section->Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) in CreateSections() 220 if (Section->Characteristics & COFF::IMAGE_SCN_MEM_EXECUTE) in CreateSections() 222 if (Section->Characteristics & COFF::IMAGE_SCN_MEM_READ) in CreateSections() 224 if (Section->Characteristics & COFF::IMAGE_SCN_MEM_WRITE) in CreateSections()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
| H A D | COFFYAML.h | 31 inline Characteristics operator|(Characteristics a, Characteristics b) { 33 return static_cast<Characteristics>(Ret); 198 struct ScalarBitSetTraits<COFF::Characteristics> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 199 static void bitset(IO &IO, COFF::Characteristics &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | WindowsResource.cpp | 455 uint32_t Characteristics, in TreeNode() argument 458 MinorVersion(MinorVersion), Characteristics(Characteristics), in TreeNode() 474 uint32_t Characteristics, in createDataNode() argument 478 MajorVersion, MinorVersion, Characteristics, Origin, DataIndex)); in createDataNode() 512 uint32_t Characteristics, uint32_t Origin, uint32_t DataIndex, in addDataChild() argument 739 Header->Characteristics = COFF::IMAGE_FILE_32BIT_MACHINE; in writeCOFFHeader() 756 SectionOneHeader->Characteristics += COFF::IMAGE_SCN_CNT_INITIALIZED_DATA; in writeFirstSectionHeader() 757 SectionOneHeader->Characteristics += COFF::IMAGE_SCN_MEM_READ; in writeFirstSectionHeader() 774 SectionTwoHeader->Characteristics = COFF::IMAGE_SCN_CNT_INITIALIZED_DATA; in writeSecondSectionHeader() 775 SectionTwoHeader->Characteristics += COFF::IMAGE_SCN_MEM_READ; in writeSecondSectionHeader() [all …]
|
| /freebsd-14.2/stand/efi/include/i386/ |
| H A D | pe.h | 80 UINT16 Characteristics; member 245 UINT32 Characteristics; member 548 UINT32 Characteristics; member 583 UINT32 Characteristics; member 593 UINT32 Characteristics; member
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | COFFMasmParser.cpp | 38 bool ParseSectionSwitch(StringRef SectionName, unsigned Characteristics, 41 bool ParseSectionSwitch(StringRef SectionName, unsigned Characteristics, 221 unsigned Characteristics, in ParseSectionSwitch() argument 223 return ParseSectionSwitch(SectionName, Characteristics, Kind, "", in ParseSectionSwitch() 228 StringRef SectionName, unsigned Characteristics, SectionKind Kind, in ParseSectionSwitch() argument 234 MCSection *Section = getContext().getCOFFSection(SectionName, Characteristics, in ParseSectionSwitch()
|
| H A D | COFFAsmParser.cpp | 40 unsigned Characteristics, 43 bool ParseSectionSwitch(StringRef Section, unsigned Characteristics, 324 unsigned Characteristics, in ParseSectionSwitch() argument 326 return ParseSectionSwitch(Section, Characteristics, Kind, "", (COFF::COMDATType)0); in ParseSectionSwitch() 330 unsigned Characteristics, in ParseSectionSwitch() argument 339 Section, Characteristics, Kind, COMDATSymName, Type)); in ParseSectionSwitch()
|
| /freebsd-14.2/stand/efi/include/amd64/ |
| H A D | pe.h | 80 UINT16 Characteristics; member 245 UINT32 Characteristics; member 548 UINT32 Characteristics; member 583 UINT32 Characteristics; member
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | COFF.h | 71 uint16_t Characteristics; member 137 enum Characteristics : unsigned { enum 294 uint32_t Characteristics; member 449 uint32_t Characteristics; member
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCContext.cpp | 668 unsigned Characteristics, in getCOFFSection() argument 692 CachedName, Characteristics, COMDATSymbol, Selection, Kind, Begin); in getCOFFSection() 699 unsigned Characteristics, in getCOFFSection() argument 702 return getCOFFSection(Section, Characteristics, Kind, "", 0, GenericSectionID, in getCOFFSection() 715 unsigned Characteristics = Sec->getCharacteristics(); in getAssociativeCOFFSection() local 717 Characteristics |= COFF::IMAGE_SCN_LNK_COMDAT; in getAssociativeCOFFSection() 718 return getCOFFSection(Sec->getName(), Characteristics, Sec->getKind(), in getAssociativeCOFFSection() 723 return getCOFFSection(Sec->getName(), Characteristics, Sec->getKind(), "", 0, in getAssociativeCOFFSection()
|
| H A D | WinCOFFObjectWriter.cpp | 350 Section->Header.Characteristics = MCSec.getCharacteristics(); in defineSection() 351 Section->Header.Characteristics |= getAlignment(MCSec); in defineSection() 437 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() 582 S.Characteristics |= COFF::IMAGE_SCN_LNK_NRELOC_OVFL; in writeSectionHeaders() 592 W.write<uint32_t>(S.Characteristics); in writeSectionHeaders() 723 Sym->Section->Header.Characteristics & COFF::IMAGE_SCN_LNK_COMDAT) in setWeakDefaultNames()
|
| H A D | MCSectionCOFF.cpp | 34 Characteristics |= COFF::IMAGE_SCN_LNK_COMDAT; in setSelection()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.cpp | 1683 unsigned Characteristics = getCOFFSectionFlags(Kind, TM); in getExplicitSectionGlobal() local 1696 Characteristics |= COFF::IMAGE_SCN_LNK_COMDAT; in getExplicitSectionGlobal() 1731 unsigned Characteristics = getCOFFSectionFlags(Kind, TM); in SelectSectionForGlobal() local 1733 Characteristics |= COFF::IMAGE_SCN_LNK_COMDAT; in SelectSectionForGlobal() 1761 return getContext().getCOFFSection(Name, Characteristics, Kind, in SelectSectionForGlobal() 1766 return getContext().getCOFFSection(Name, Characteristics, Kind, TmpData, in SelectSectionForGlobal() 1819 unsigned Characteristics = getCOFFSectionFlags(Kind, TM); in getSectionForJumpTable() local 1820 Characteristics |= COFF::IMAGE_SCN_LNK_COMDAT; in getSectionForJumpTable() 1824 SecName, Characteristics, Kind, COMDATSymName, in getSectionForJumpTable() 2090 const unsigned Characteristics = COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | in getSectionForConstant() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldCOFFThumb.h | 43 ->Characteristics & in isThumbFunc() 72 bool isThumb = CoffSec->Characteristics & COFF::IMAGE_SCN_MEM_16BIT; in getJITSymbolFlags()
|