Home
last modified time | relevance | path

Searched refs:RelocSec (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp812 auto *RelocSec = dyn_cast<RelocationSectionBase>(&Sec); in handleArgs() local
822 } else if (RelocSec && !(Sec.Flags & SHF_ALLOC)) in handleArgs()
829 RelocSections.push_back(RelocSec); in handleArgs()
833 for (RelocationSectionBase *RelocSec : RelocSections) { in handleArgs()
834 auto Iter = RenamedSections.find(RelocSec->getSection()); in handleArgs()
836 RelocSec->Name = (RelocSec->getNamePrefix() + (*Iter)->Name).str(); in handleArgs()
849 } else if (auto *RelocSec = dyn_cast<RelocationSectionBase>(&Sec)) { in handleArgs() local
857 const SectionBase *TargetSec = RelocSec->getSection(); in handleArgs()
864 Sec.Name = (RelocSec->getNamePrefix() + TargetSec->Name).str(); in handleArgs()
866 Sec.Name = (RelocSec->getNamePrefix() + Config.AllocSectionsPrefix + in handleArgs()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DELFObjectFile.cpp913 for (auto const &[Sec, RelocSec] : *SectionRelocMapOrErr) { in readBBAddrMapImpl()
914 if (IsRelocatable && !RelocSec) in readBBAddrMapImpl()
918 EF.decodeBBAddrMap(*Sec, RelocSec, PGOAnalyses); in readBBAddrMapImpl()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp342 void printStackSize(const Relocation<ELFT> &R, const Elf_Shdr &RelocSec,
6665 const Elf_Shdr &RelocSec, unsigned Ndx, in printStackSize() argument
6677 Twine(Ndx) + " in " + describe(RelocSec) + ": " + in printStackSize()
6772 const Elf_Shdr *RelocSec = StackSizeMapEntry.second; in printRelocatableStackSizes() local
6775 if (!RelocSec) { in printRelocatableStackSizes()
6797 *RelocSec, [&](const Relocation<ELFT> &R, unsigned Ndx, in printRelocatableStackSizes()
6801 describe(*RelocSec) + in printRelocatableStackSizes()
6807 this->printStackSize(R, *RelocSec, Ndx, SymTab, FunctionSec, in printRelocatableStackSizes()
7773 for (auto const &[Sec, RelocSec] : *SecRelocMapOrErr) { in printBBAddrMaps()
7779 if (IsRelocatable && !RelocSec) { in printBBAddrMaps()
[all …]