Searched refs:SectionFlag (Results 1 – 5 of 5) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFObjcopy.cpp | 98 static uint32_t flagsToCharacteristics(SectionFlag AllFlags, uint32_t OldChar) { in flagsToCharacteristics() 113 if ((AllFlags & SectionFlag::SecAlloc) && !(AllFlags & SectionFlag::SecLoad)) in flagsToCharacteristics() 115 if (AllFlags & SectionFlag::SecNoload) in flagsToCharacteristics() 117 if (!(AllFlags & SectionFlag::SecReadonly)) in flagsToCharacteristics() 119 if (AllFlags & SectionFlag::SecDebug) in flagsToCharacteristics() 122 if (AllFlags & SectionFlag::SecCode) in flagsToCharacteristics() 124 if (AllFlags & SectionFlag::SecData) in flagsToCharacteristics() 126 if (AllFlags & SectionFlag::SecShare) in flagsToCharacteristics() 128 if (AllFlags & SectionFlag::SecExclude) in flagsToCharacteristics()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/TextAPI/ |
| H A D | TextStubV5.cpp | 306 SymbolFlags SectionFlag) { in collectSymbolsFromSegment() argument 308 TBDKey::Globals, Segment, [&Result, &SectionFlag](StringRef Name) { in collectSymbolsFromSegment() 324 [&Result, &SectionFlag](StringRef Name) { in collectSymbolsFromSegment() 326 Name.str(), SectionFlag}; in collectSymbolsFromSegment() 335 SectionFlag}; in collectSymbolsFromSegment() 342 SectionFlag | in collectSymbolsFromSegment() 357 SymbolFlags::ThreadLocalValue | SectionFlag}; in collectSymbolsFromSegment() 387 SymbolFlags SectionFlag; in getSymbolSection() local 390 SectionFlag = SymbolFlags::Rexported; in getSymbolSection() 393 SectionFlag = SymbolFlags::Undefined; in getSymbolSection() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
| H A D | ObjcopyOptions.cpp | 156 .CaseLower("alloc", SectionFlag::SecAlloc) in parseSectionRenameFlag() 157 .CaseLower("load", SectionFlag::SecLoad) in parseSectionRenameFlag() 160 .CaseLower("debug", SectionFlag::SecDebug) in parseSectionRenameFlag() 161 .CaseLower("code", SectionFlag::SecCode) in parseSectionRenameFlag() 162 .CaseLower("data", SectionFlag::SecData) in parseSectionRenameFlag() 163 .CaseLower("rom", SectionFlag::SecRom) in parseSectionRenameFlag() 170 .Default(SectionFlag::SecNone); in parseSectionRenameFlag() 173 static Expected<SectionFlag> 175 SectionFlag ParsedFlags = SectionFlag::SecNone; in parseSectionFlagSet() 178 if (ParsedFlag == SectionFlag::SecNone) in parseSectionFlagSet() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObjcopy.cpp | 71 static Expected<uint64_t> getNewShfFlags(SectionFlag AllFlags, in getNewShfFlags() 74 if (AllFlags & SectionFlag::SecAlloc) in getNewShfFlags() 76 if (!(AllFlags & SectionFlag::SecReadonly)) in getNewShfFlags() 78 if (AllFlags & SectionFlag::SecCode) in getNewShfFlags() 80 if (AllFlags & SectionFlag::SecMerge) in getNewShfFlags() 82 if (AllFlags & SectionFlag::SecStrings) in getNewShfFlags() 84 if (AllFlags & SectionFlag::SecExclude) in getNewShfFlags() 86 if (AllFlags & SectionFlag::SecLarge) { in getNewShfFlags() 118 static Error setSectionFlagsAndType(SectionBase &Sec, SectionFlag Flags, in setSectionFlagsAndType() 130 Flags & (SectionFlag::SecContents | SectionFlag::SecLoad))) in setSectionFlagsAndType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjCopy/ |
| H A D | CommonConfig.h | 57 enum SectionFlag { enum 79 std::optional<SectionFlag> NewFlags; 84 SectionFlag NewFlags;
|