| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/wasm/ |
| H A D | WasmObjcopy.cpp | 24 static bool isDebugSection(const Section &Sec) { in isDebugSection() 28 static bool isLinkerSection(const Section &Sec) { in isLinkerSection() 32 static bool isNameSection(const Section &Sec) { return Sec.Name == "name"; } in isNameSection() 36 static bool isCommentSection(const Section &Sec) { in isCommentSection() 42 for (const Section &Sec : Obj.Sections) { in dumpSectionToFile() local 65 RemovePred = [&Config](const Section &Sec) { in removeSections() 71 RemovePred = [RemovePred](const Section &Sec) { in removeSections() 77 RemovePred = [RemovePred](const Section &Sec) { in removeSections() 84 RemovePred = [&Config](const Section &Sec) { in removeSections() 92 RemovePred = [&Config](const Section &Sec) { in removeSections() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObject.cpp | 66 template <class ELFT> void ELFWriter<ELFT>::writeShdr(const SectionBase &Sec) { in writeShdr() 100 Error ELFSectionSizer<ELFT>::visit(SymbolTableSection &Sec) { in visit() 122 Error ELFSectionSizer<ELFT>::visit(RelocationSection &Sec) { in visit() 139 template <class ELFT> Error ELFSectionSizer<ELFT>::visit(GroupSection &Sec) { in visit() 158 Error BinarySectionWriter::visit(const SectionIndexSection &Sec) { in visit() 164 Error BinarySectionWriter::visit(const SymbolTableSection &Sec) { in visit() 170 Error BinarySectionWriter::visit(const RelocationSection &Sec) { in visit() 176 Error BinarySectionWriter::visit(const GnuDebugLinkSection &Sec) { in visit() 181 Error BinarySectionWriter::visit(const GroupSection &Sec) { in visit() 186 Error SectionWriter::visit(const Section &Sec) { in visit() [all …]
|
| H A D | ELFObjcopy.cpp | 49 static bool isDebugSection(const SectionBase &Sec) { in isDebugSection() 53 static bool isDWOSection(const SectionBase &Sec) { in isDWOSection() 57 static bool onlyKeepDWOPred(const Object &Obj, const SectionBase &Sec) { in onlyKeepDWOPred() 105 static void setSectionType(SectionBase &Sec, uint64_t Type) { in setSectionType() 113 static Error setSectionFlagsAndType(SectionBase &Sec, SectionFlag Flags, in setSectionFlagsAndType() 190 for (auto &Sec : Obj.sections()) { in dumpSectionToFile() local 418 RemovePred = [&Config](const SectionBase &Sec) { in replaceAndRemoveSections() 424 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections() 429 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections() 434 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | DefineExternalSectionStartAndEndSymbols.h | 30 Section *Sec = nullptr; member 73 SectionRange &getSectionRange(Section &Sec) { in getSectionRange() 116 if (auto *Sec = G.findSectionByName( in identifyELFSectionStartAndEndSymbols() local 120 if (auto *Sec = in identifyELFSectionStartAndEndSymbols() local 138 if (auto *Sec = G.findSectionByName(SectionName)) in identifyMachOSectionStartAndEndSymbols() local 144 if (auto *Sec = G.findSectionByName(SectionName)) in identifyMachOSectionStartAndEndSymbols() local
|
| H A D | MachO.cpp | 90 static Expected<Block &> createLocalHeaderBlock(LinkGraph &G, Section &Sec) { in createLocalHeaderBlock() 115 Section *Sec = G.findSectionByName(LocalHeaderSectionName); in getOrCreateLocalMachOHeader() local 126 for (auto &Sec : G.sections()) in getOrCreateLocalMachOHeader() local
|
| H A D | COFFLinkGraphBuilder.cpp | 47 const object::coff_section *Sec) { in getSectionSize() 91 const object::coff_section *Sec, in getCOFFSectionName() 123 Expected<const object::coff_section *> Sec = Obj.getSection(SecIndex); in graphifySections() local 213 const object::coff_section *Sec = nullptr; in graphifySymbols() local
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | GOFFObjectFile.h | 99 uint64_t getSectionIndex(DataRefImpl Sec) const override { return Sec.d.a; } in getSectionIndex() 101 bool isSectionCompressed(DataRefImpl Sec) const override { return false; } in isSectionCompressed() 104 bool isSectionBSS(DataRefImpl Sec) const override { return false; } in isSectionBSS() 105 bool isSectionVirtual(DataRefImpl Sec) const override { return false; } in isSectionVirtual() 106 relocation_iterator section_rel_begin(DataRefImpl Sec) const override { in section_rel_begin() 109 relocation_iterator section_rel_end(DataRefImpl Sec) const override { in section_rel_end()
|
| H A D | ELFObjectFile.h | 381 const Elf_Shdr *toELFShdrIter(DataRefImpl Sec) const { in toELFShdrIter() 385 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI() 477 const Elf_Shdr *getSection(DataRefImpl Sec) const { in getSection() 590 uint64_t ELFObjectFile<ELFT>::getSectionFlags(DataRefImpl Sec) const { in getSectionFlags() 595 uint32_t ELFObjectFile<ELFT>::getSectionType(DataRefImpl Sec) const { in getSectionType() 600 uint64_t ELFObjectFile<ELFT>::getSectionOffset(DataRefImpl Sec) const { in getSectionOffset() 877 DataRefImpl Sec; in getSymbolSection() local 896 void ELFObjectFile<ELFT>::moveSectionNext(DataRefImpl &Sec) const { in moveSectionNext() 902 Expected<StringRef> ELFObjectFile<ELFT>::getSectionName(DataRefImpl Sec) const { in getSectionName() 907 uint64_t ELFObjectFile<ELFT>::getSectionAddress(DataRefImpl Sec) const { in getSectionAddress() [all …]
|
| H A D | ELF.h | 132 const typename ELFT::Shdr &Sec) { in getSecIndexForError() 146 const typename ELFT::Shdr &Sec) { in describe() 171 const typename ELFT::Shdr &Sec) { in checkSectionOffsets() 189 const typename ELFT::Shdr &Sec) { in checkSectionVMA() 208 const typename ELFT::Shdr &Sec) { in isSectionInSegment() 353 Expected<Elf_Sym_Range> symbols(const Elf_Shdr *Sec) const { in symbols() 359 Expected<Elf_Rela_Range> relas(const Elf_Shdr &Sec) const { in relas() 363 Expected<Elf_Rel_Range> rels(const Elf_Shdr &Sec) const { in rels() 367 Expected<Elf_Relr_Range> relrs(const Elf_Shdr &Sec) const { in relrs() 605 ELFFile<ELFT>::getSymbol(const Elf_Shdr *Sec, uint32_t Index) const { in getSymbol() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/XCOFF/ |
| H A D | XCOFFWriter.cpp | 28 for (const Section &Sec : Obj.Sections) { in finalizeSections() local 67 for (const Section &Sec : Obj.Sections) { in writeHeaders() local 75 for (const Section &Sec : Obj.Sections) { in writeSections() local 82 for (const Section &Sec : Obj.Sections) { in writeSections() local
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/ |
| H A D | DebugInfoSupport.cpp | 33 static void preserveDWARFSection(LinkGraph &G, Section &Sec) { in preserveDWARFSection() 49 static SmallVector<char, 0> getSectionData(Section &Sec) { in getSectionData() 83 for (auto &Sec : G.sections()) { in preserveDebugSections() local 102 for (auto &Sec : G.sections()) { in createDWARFContext() local
|
| H A D | DebuggerSupportPlugin.cpp | 36 static bool isDebugSection(Section &Sec) { in isDebugSection() 58 for (auto &Sec : G.sections()) { in preserveDebugSections() local 103 for (auto &Sec : G.sections()) { in startSynthesis() local 400 for (auto &Sec : LG.sections()) in modifyPassConfigForMachO() local
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
| H A D | MipsOptionRecord.cpp | 35 MCSectionELF *Sec = in EmitMipsOptionRecord() local 53 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord() local
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFObjcopy.cpp | 31 static bool isDebugSection(const Section &Sec) { in isDebugSection() 66 Section Sec; in addSection() local 166 Obj.removeSections([&Config](const Section &Sec) { in handleArgs() 192 Obj.truncateSections([DebugDir](const Section &Sec) { in handleArgs() 287 auto It = llvm::find_if(Obj.getMutableSections(), [&](auto &Sec) { in handleArgs()
|
| H A D | COFFObject.cpp | 57 for (const Section &Sec : Sections) { in markSymbols() local 92 auto RemoveAssociated = [&AssociatedSections](const Section &Sec) { in removeSections() 97 llvm::erase_if(Sections, [ToRemove, &RemovedSections](const Section &Sec) { in removeSections()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOObjcopy.cpp | 61 RemovePred = [&Config, RemovePred](const std::unique_ptr<Section> &Sec) { in removeSections() 68 RemovePred = [RemovePred](const std::unique_ptr<Section> &Sec) { in removeSections() 78 RemovePred = [&Config](const std::unique_ptr<Section> &Sec) { in removeSections() 311 for (const std::unique_ptr<Section> &Sec : LC.Sections) { in dumpSectionToFile() local 333 Section Sec(TargetSegName, Pair.second); in addSection() local 373 for (const auto& Sec : LC.Sections) in findSection() local 390 [SecName](const std::unique_ptr<Section> &Sec) { in findSection() 407 Section &Sec = *SecToUpdateOrErr; in updateSection() local
|
| H A D | MachOReader.cpp | 31 static Section constructSectionCommon(const SectionType &Sec, uint32_t Index) { in constructSectionCommon() 49 Section constructSection(const MachO::section &Sec, uint32_t Index) { in constructSection() 53 Section constructSection(const MachO::section_64 &Sec, uint32_t Index) { in constructSection() 69 SectionType Sec; in extractSections() local 351 for (const std::unique_ptr<Section> &Sec : LC.Sections) in readSwiftVersion() local
|
| H A D | MachOWriter.cpp | 167 for (const std::unique_ptr<Section> &Sec : LC.Sections) in writeLoadCommands() local 177 for (const std::unique_ptr<Section> &Sec : LC.Sections) in writeLoadCommands() local 214 void MachOWriter::writeSectionInLoadCommand(const Section &Sec, uint8_t *&Out) { in writeSectionInLoadCommand() 240 for (const std::unique_ptr<Section> &Sec : LC.Sections) { in writeSections() local
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | DebuggerSupportPlugin.cpp | |
| H A D | ObjectFileInterface.cpp | 79 for (auto &Sec : Obj.sections()) { in getMachOObjectFileSymbolInfo() local 138 for (auto &Sec : Obj.sections()) { in getELFObjectFileSymbolInfo() local 166 auto Sec = Obj.getSection(COFFSym.getSectionNumber()); in getCOFFObjectFileSymbolInfo() local 219 for (auto &Sec : Obj.sections()) { in getCOFFObjectFileSymbolInfo() local
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DWP/ |
| H A D | DWPStringPool.h | 34 MCSection *Sec; variable 39 DWPStringPool(MCStreamer &Out, MCSection *Sec) : Out(Out), Sec(Sec) {} in DWPStringPool()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCDXContainerWriter.cpp | 28 for (const MCSection &Sec : Asm) { in writeObject() local 69 for (const MCSection &Sec : Asm) { in writeObject() local
|
| H A D | WinCOFFObjectWriter.cpp | 213 static bool isDwoSection(const MCSection &Sec) { in isDwoSection() 259 static uint32_t getAlignment(const MCSectionCOFF &Sec) { in getAlignment() 373 COFFSection *Sec = nullptr; in defineSymbol() local 593 void WinCOFFWriter::writeSection(const COFFSection &Sec) { in writeSection() 741 COFFSection *Sec = SectionMap[&Section]; in assignFileOffsets() local 857 COFFSection *Sec = SectionMap[MCSec]; in recordRelocation() local 1070 auto *Sec = getContext().getCOFFSection(".llvm_addrsig", in writeObject() local 1093 auto *Sec = getContext().getCOFFSection(".llvm.call-graph-profile", in writeObject() local
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | ELFDump.cpp | 187 const object::ELFSectionRef &Sec) { in getSectionLMA() 205 uint64_t objdump::getELFSectionLMA(const object::ELFSectionRef &Sec) { in getELFSectionLMA() 346 if (!any_of(Obj.sections(), [](const ELFSectionRef Sec) { in printDynamicRelocations() 380 const typename ELFT::Shdr &Sec) { in printSymbolVersionDependency()
|
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | SymbolSize.cpp | 29 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID() 88 for (SectionRef Sec : O.sections()) { in computeSymbolSizes() local
|