| /freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/wasm/ |
| 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 …]
|
| D | Reader.cpp | 23 for (const SectionRef &Sec : WasmObj.sections()) { in create() local
|
| /freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/ |
| D | ELFObjcopy.cpp | 56 static bool isDebugSection(const SectionBase &Sec) { in isDebugSection() 61 static bool isDWOSection(const SectionBase &Sec) { in isDWOSection() 65 static bool onlyKeepDWOPred(const Object &Obj, const SectionBase &Sec) { in onlyKeepDWOPred() 103 static void setSectionFlagsAndType(SectionBase &Sec, SectionFlag Flags) { in setSectionFlagsAndType() 179 for (auto &Sec : Obj.sections()) { in dumpSectionToFile() local 201 static bool isCompressable(const SectionBase &Sec) { in isCompressable() 214 for (auto &Sec : Obj.sections()) in replaceDebugSections() local 231 for (auto &Sec : Obj.sections()) in replaceDebugSections() local 234 RemovePred = [ShouldReplace, RemovePred](const SectionBase &Sec) { in replaceDebugSections() 347 RemovePred = [&Config](const SectionBase &Sec) { in replaceAndRemoveSections() [all …]
|
| D | Object.cpp | 67 template <class ELFT> void ELFWriter<ELFT>::writeShdr(const SectionBase &Sec) { in writeShdr() 101 Error ELFSectionSizer<ELFT>::visit(SymbolTableSection &Sec) { in visit() 110 Error ELFSectionSizer<ELFT>::visit(RelocationSection &Sec) { in visit() 123 template <class ELFT> Error ELFSectionSizer<ELFT>::visit(GroupSection &Sec) { in visit() 142 Error BinarySectionWriter::visit(const SectionIndexSection &Sec) { in visit() 148 Error BinarySectionWriter::visit(const SymbolTableSection &Sec) { in visit() 154 Error BinarySectionWriter::visit(const RelocationSection &Sec) { in visit() 160 Error BinarySectionWriter::visit(const GnuDebugLinkSection &Sec) { in visit() 165 Error BinarySectionWriter::visit(const GroupSection &Sec) { in visit() 170 Error SectionWriter::visit(const Section &Sec) { in visit() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Object/ |
| D | ELFObjectFile.h | 336 const Elf_Shdr *toELFShdrIter(DataRefImpl Sec) const { in toELFShdrIter() 340 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI() 414 const Elf_Shdr *getSection(DataRefImpl Sec) const { in getSection() 519 uint64_t ELFObjectFile<ELFT>::getSectionFlags(DataRefImpl Sec) const { in getSectionFlags() 524 uint32_t ELFObjectFile<ELFT>::getSectionType(DataRefImpl Sec) const { in getSectionType() 529 uint64_t ELFObjectFile<ELFT>::getSectionOffset(DataRefImpl Sec) const { in getSectionOffset() 788 DataRefImpl Sec; in getSymbolSection() local 807 void ELFObjectFile<ELFT>::moveSectionNext(DataRefImpl &Sec) const { in moveSectionNext() 813 Expected<StringRef> ELFObjectFile<ELFT>::getSectionName(DataRefImpl Sec) const { in getSectionName() 818 uint64_t ELFObjectFile<ELFT>::getSectionAddress(DataRefImpl Sec) const { in getSectionAddress() [all …]
|
| D | ELF.h | 132 const typename ELFT::Shdr &Sec) { in getSecIndexForError() 146 const typename ELFT::Shdr &Sec) { in describe() 261 Expected<Elf_Sym_Range> symbols(const Elf_Shdr *Sec) const { in symbols() 267 Expected<Elf_Rela_Range> relas(const Elf_Shdr &Sec) const { in relas() 271 Expected<Elf_Rel_Range> rels(const Elf_Shdr &Sec) const { in rels() 275 Expected<Elf_Relr_Range> relrs(const Elf_Shdr &Sec) const { in relrs() 472 ELFFile<ELFT>::getSymbol(const Elf_Shdr *Sec, uint32_t Index) const { in getSymbol() 488 ELFFile<ELFT>::getSectionContentsAsArray(const Elf_Shdr &Sec) const { in getSectionContentsAsArray() 544 ELFFile<ELFT>::getSectionContents(const Elf_Shdr &Sec) const { in getSectionContents() 872 ELFFile<ELFT>::getVersionDefinitions(const Elf_Shdr &Sec) const { in getVersionDefinitions() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/ |
| D | COFFObjcopy.cpp | 30 static bool isDebugSection(const Section &Sec) { in isDebugSection() 65 Section Sec; in addSection() local 97 static void setSectionFlags(Section &Sec, SectionFlag AllFlags) { in setSectionFlags() 136 Obj.removeSections([&Config](const Section &Sec) { in handleArgs() 158 Obj.truncateSections([](const Section &Sec) { in handleArgs()
|
| D | Object.cpp | 56 for (const Section &Sec : Sections) { in markSymbols() local 91 auto RemoveAssociated = [&AssociatedSections](const Section &Sec) { in removeSections() 96 llvm::erase_if(Sections, [ToRemove, &RemovedSections](const Section &Sec) { in removeSections()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/MC/ |
| D | MCFragment.h | 117 explicit MCDummyFragment(MCSection *Sec) : MCFragment(FT_Dummy, false, Sec) {} in MCDummyFragment() 133 MCSection *Sec) in MCEncodedFragment() 193 MCSection *Sec) in MCEncodedFragmentWithContents() 214 MCSection *Sec) in MCEncodedFragmentWithFixups() 260 : MCEncodedFragmentWithContents(FT_CompactEncodedInst, true, Sec) { in MCEncodedFragmentWithContents() argument 281 : MCEncodedFragmentWithFixups(FT_Relaxable, true, Sec), in MCEncodedFragmentWithFixups() argument 317 : MCFragment(FT_Align, false, Sec), Alignment(Alignment), EmitNops(false), in MCFragment() argument 349 : MCFragment(FT_Fill, false, Sec), ValueSize(VSize), Value(Value), in MCFragment() argument 375 : MCFragment(FT_Nops, false, Sec), Size(NumBytes), in MCFragment() argument 401 : MCFragment(FT_Org, false, Sec), Value(Value), Offset(&Offset), in MCFragment() argument [all …]
|
| D | MCMachObjectWriter.h | 154 uint64_t getSectionAddress(const MCSection *Sec) const { in getSectionAddress() 232 void addRelocation(const MCSymbol *RelSymbol, const MCSection *Sec, in addRelocation()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
| D | MipsOptionRecord.cpp | 36 MCSectionELF *Sec = in EmitMipsOptionRecord() local 55 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord() local
|
| /freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
| 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 312 for (const std::unique_ptr<Section> &Sec : LC.Sections) in readSwiftVersion() local
|
| D | MachOObjcopy.cpp | 58 RemovePred = [&Config, RemovePred](const std::unique_ptr<Section> &Sec) { in removeSections() 65 RemovePred = [RemovePred](const std::unique_ptr<Section> &Sec) { in removeSections() 75 RemovePred = [&Config](const std::unique_ptr<Section> &Sec) { in removeSections() 260 for (const std::unique_ptr<Section> &Sec : LC.Sections) { in dumpSectionToFile() local 288 Section Sec(TargetSegName, Pair.second); in addSection() local
|
| D | MachOWriter.cpp | 187 for (const std::unique_ptr<Section> &Sec : LC.Sections) in writeLoadCommands() local 197 for (const std::unique_ptr<Section> &Sec : LC.Sections) in writeLoadCommands() local 234 void MachOWriter::writeSectionInLoadCommand(const Section &Sec, uint8_t *&Out) { in writeSectionInLoadCommand() 260 for (const std::unique_ptr<Section> &Sec : LC.Sections) { in writeSections() local
|
| D | Object.cpp | 77 [&](const std::unique_ptr<Section> &Sec) { return !ToRemove(Sec); }); in removeSections() 96 for (const std::unique_ptr<Section> &Sec : LC.Sections) in removeSections() local
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| D | DefineExternalSectionStartAndEndSymbols.h | 30 Section *Sec = nullptr; member 73 SectionRange &getSectionRange(Section &Sec) { in getSectionRange()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DWP/ |
| D | DWPStringPool.h | 34 MCSection *Sec; variable 39 DWPStringPool(MCStreamer &Out, MCSection *Sec) : Out(Out), Sec(Sec) {} in DWPStringPool()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Object/ |
| D | SymbolSize.cpp | 29 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID() 75 for (SectionRef Sec : O.sections()) { in computeSymbolSizes() local
|
| D | COFFObjectFile.cpp | 251 Expected<const coff_section *> Sec = getSection(Symb.getSectionNumber()); in getSymbolSection() local 265 const coff_section *Sec = toSec(Ref); in moveSectionNext() local 271 const coff_section *Sec = toSec(Ref); in getSectionName() local 276 const coff_section *Sec = toSec(Ref); in getSectionAddress() local 295 const coff_section *Sec = toSec(Ref); in getSectionContents() local 303 const coff_section *Sec = toSec(Ref); in getSectionAlignment() local 312 const coff_section *Sec = toSec(Ref); in isSectionText() local 317 const coff_section *Sec = toSec(Ref); in isSectionData() local 322 const coff_section *Sec = toSec(Ref); in isSectionBSS() local 350 const coff_section *Sec = toSec(Ref); in isSectionVirtual() local [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/MC/ |
| D | MachObjectWriter.cpp | 120 uint64_t MachObjectWriter::getPaddingSize(const MCSection *Sec, in getPaddingSize() 215 const MCSection &Sec, uint64_t VMAddr, in writeSection() 645 for (const MCSection *Sec : Layout.getSectionOrder()) { in computeSectionAddresses() local 819 for (const MCSection &Sec : Asm) { in writeObject() local 852 const auto &Sec = cast<MCSectionMachO>(Section); in writeObject() local 953 for (const MCSection &Sec : Asm) { in writeObject() local 964 for (const MCSection &Sec : Asm) { in writeObject() local
|
| D | MCFragment.cpp | 43 const MCSection *Sec = F->getParent(); in isFragmentValid() local 52 MCSection *Sec = F->getParent(); in canGetFragmentOffset() local 81 MCSection *Sec = F->getParent(); in ensureValid() local
|
| D | WinCOFFObjectWriter.cpp | 266 static uint32_t getAlignment(const MCSectionCOFF &Sec) { in getAlignment() 369 COFFSection *Sec = nullptr; in DefineSymbol() local 625 const COFFSection &Sec, in writeSection() 638 COFFSection *Sec = SectionMap[&MCSec]; in writeSection() local 741 COFFSection *Sec = SectionMap[MCSec]; in recordRelocation() local 964 COFFSection *Sec = SectionMap[&Section]; in assignFileOffsets() local
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
| D | AArch64MachObjectWriter.cpp | 317 const MCSection &Sec = Symbol->getSection(); in recordRelocation() local 356 const MCSection &Sec = Symbol->getSection(); in recordRelocation() local
|
| /freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| D | ELFDumper.cpp | 416 const typename ELFT::Shdr &Sec, in getLinkAsSymtab() 450 ELFDumper<ELFT>::getVersionTable(const Elf_Shdr &Sec, ArrayRef<Elf_Sym> *SymTab, in getVersionTable() 1655 for (const Elf_Shdr &Sec : cantFail(Obj.sections())) { in findDynamic() local 1787 for (const Elf_Shdr &Sec : Sections) { in ELFDumper() local 2595 for (const Elf_Shdr &Sec : cantFail(Obj.sections())) { in printAttributes() local 3151 const Elf_Shdr &Sec, const Elf_Shdr *SymTab) { in printReloc() 3321 for (const Elf_Shdr &Sec : cantFail(Obj.sections())) { in getGroups() local 3492 static bool isRelocationSec(const typename ELFT::Shdr &Sec) { in isRelocationSec() 3500 auto GetEntriesNum = [&](const Elf_Shdr &Sec) -> Expected<size_t> { in printRelocations() 3524 for (const Elf_Shdr &Sec : cantFail(this->Obj.sections())) { in printRelocations() local [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| D | MachOEmitter.cpp | 102 SectionType constructSection(MachOYAML::Section Sec) { in constructSection() 129 for (const auto &Sec : LC.Sections) { in writeLoadCommandData() local 144 for (const auto &Sec : LC.Sections) { in writeLoadCommandData() local 278 for (auto &Sec : LC.Sections) { in writeSectionData() local 362 for (const MachOYAML::Section &Sec : LC.Sections) { in writeRelocations() local
|