Home
last modified time | relevance | path

Searched refs:AllFlags (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/COFF/
H A DCOFFObjcopy.cpp97 static uint32_t flagsToCharacteristics(SectionFlag AllFlags, uint32_t OldChar) { in flagsToCharacteristics() argument
112 if ((AllFlags & SectionFlag::SecAlloc) && !(AllFlags & SectionFlag::SecLoad)) in flagsToCharacteristics()
114 if (AllFlags & SectionFlag::SecNoload) in flagsToCharacteristics()
116 if (!(AllFlags & SectionFlag::SecReadonly)) in flagsToCharacteristics()
118 if (AllFlags & SectionFlag::SecDebug) in flagsToCharacteristics()
121 if (AllFlags & SectionFlag::SecCode) in flagsToCharacteristics()
123 if (AllFlags & SectionFlag::SecData) in flagsToCharacteristics()
125 if (AllFlags & SectionFlag::SecShare) in flagsToCharacteristics()
127 if (AllFlags & SectionFlag::SecExclude) in flagsToCharacteristics()
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp71 static uint64_t getNewShfFlags(SectionFlag AllFlags) { in getNewShfFlags() argument
73 if (AllFlags & SectionFlag::SecAlloc) in getNewShfFlags()
75 if (!(AllFlags & SectionFlag::SecReadonly)) in getNewShfFlags()
77 if (AllFlags & SectionFlag::SecCode) in getNewShfFlags()
79 if (AllFlags & SectionFlag::SecMerge) in getNewShfFlags()
81 if (AllFlags & SectionFlag::SecStrings) in getNewShfFlags()
83 if (AllFlags & SectionFlag::SecExclude) in getNewShfFlags()