Home
last modified time | relevance | path

Searched refs:SectionFlag (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObjcopy.cpp98 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 in flagsToCharacteristics()
[all...]
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStubV5.cpp306 SymbolFlags SectionFlag) { in collectSymbolsFromSegment() argument
308 TBDKey::Globals, Segment, [&Result, &SectionFlag](StringRef Name) { in collectSymbolsFromSegment()
309 JSONSymbol Sym = {EncodeKind::GlobalSymbol, Name.str(), SectionFlag}; in collectSymbolsFromSegment()
316 TBDKey::ObjCClass, Segment, [&Result, &SectionFlag](StringRef Name) { in collectSymbolsFromSegment()
317 JSONSymbol Sym = {EncodeKind::ObjectiveCClass, Name.str(), SectionFlag}; in collectSymbolsFromSegment()
324 [&Result, &SectionFlag](StringRef Name) { in collectSymbolsFromSegment()
326 Name.str(), SectionFlag}; in collectSymbolsFromSegment()
333 TBDKey::ObjCIvar, Segment, [&Result, &SectionFlag](StringRef Name) { in collectSymbolsFromSegment()
335 SectionFlag}; in collectSymbolsFromSegment()
342 SectionFlag | in collectSymbolsFromSegment()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.cpp157 static SectionFlag parseSectionRenameFlag(StringRef SectionName) { in parseSectionRenameFlag()
158 return llvm::StringSwitch<SectionFlag>(SectionName) in parseSectionRenameFlag()
159 .CaseLower("alloc", SectionFlag::SecAlloc) in parseSectionRenameFlag()
160 .CaseLower("load", SectionFlag::SecLoad) in parseSectionRenameFlag()
161 .CaseLower("noload", SectionFlag::SecNoload) in parseSectionRenameFlag()
162 .CaseLower("readonly", SectionFlag::SecReadonly) in parseSectionRenameFlag()
163 .CaseLower("debug", SectionFlag::SecDebug) in parseSectionRenameFlag()
164 .CaseLower("code", SectionFlag::SecCode) in parseSectionRenameFlag()
165 .CaseLower("data", SectionFlag::SecData) in parseSectionRenameFlag()
166 .CaseLower("rom", SectionFlag::SecRom) in parseSectionRenameFlag()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp71 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/contrib/llvm-project/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h50 enum SectionFlag { enum
72 std::optional<SectionFlag> NewFlags;
77 SectionFlag NewFlags;