Searched refs:SectionFlag (Results 1 – 4 of 4) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/COFF/ |
| H A D | COFFObjcopy.cpp | 97 static void setSectionFlags(Section &Sec, SectionFlag AllFlags) { in setSectionFlags() 113 if ((AllFlags & SectionFlag::SecAlloc) && !(AllFlags & SectionFlag::SecLoad)) in setSectionFlags() 115 if (AllFlags & SectionFlag::SecNoload) in setSectionFlags() 117 if (!(AllFlags & SectionFlag::SecReadonly)) in setSectionFlags() 119 if (AllFlags & SectionFlag::SecDebug) in setSectionFlags() 122 if (AllFlags & SectionFlag::SecCode) in setSectionFlags() 124 if (AllFlags & SectionFlag::SecData) in setSectionFlags() 126 if (AllFlags & SectionFlag::SecShare) in setSectionFlags() 128 if (AllFlags & SectionFlag::SecExclude) in setSectionFlags()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ |
| H A D | ConfigManager.cpp | 172 static SectionFlag parseSectionRenameFlag(StringRef SectionName) { in parseSectionRenameFlag() 173 return llvm::StringSwitch<SectionFlag>(SectionName) in parseSectionRenameFlag() 174 .CaseLower("alloc", SectionFlag::SecAlloc) in parseSectionRenameFlag() 175 .CaseLower("load", SectionFlag::SecLoad) in parseSectionRenameFlag() 176 .CaseLower("noload", SectionFlag::SecNoload) in parseSectionRenameFlag() 177 .CaseLower("readonly", SectionFlag::SecReadonly) in parseSectionRenameFlag() 178 .CaseLower("debug", SectionFlag::SecDebug) in parseSectionRenameFlag() 179 .CaseLower("code", SectionFlag::SecCode) in parseSectionRenameFlag() 180 .CaseLower("data", SectionFlag::SecData) in parseSectionRenameFlag() 181 .CaseLower("rom", SectionFlag::SecRom) in parseSectionRenameFlag() [all …]
|
| H A D | CommonConfig.h | 55 enum SectionFlag { enum 76 Optional<SectionFlag> NewFlags; 81 SectionFlag NewFlags;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ELF/ |
| H A D | ELFObjcopy.cpp | 74 uint64_t getNewShfFlags(SectionFlag AllFlags) { in getNewShfFlags() 76 if (AllFlags & SectionFlag::SecAlloc) in getNewShfFlags() 78 if (!(AllFlags & SectionFlag::SecReadonly)) in getNewShfFlags() 80 if (AllFlags & SectionFlag::SecCode) in getNewShfFlags() 82 if (AllFlags & SectionFlag::SecMerge) in getNewShfFlags() 84 if (AllFlags & SectionFlag::SecStrings) in getNewShfFlags() 86 if (AllFlags & SectionFlag::SecExclude) in getNewShfFlags() 103 static void setSectionFlagsAndType(SectionBase &Sec, SectionFlag Flags) { in setSectionFlagsAndType() 111 Flags & (SectionFlag::SecContents | SectionFlag::SecLoad))) in setSectionFlagsAndType()
|