Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp696 auto *RelocSec = dyn_cast<RelocationSectionBase>(&Sec); in handleArgs() local
704 } else if (RelocSec && !(Sec.Flags & SHF_ALLOC)) in handleArgs()
711 RelocSections.push_back(RelocSec); in handleArgs()
715 for (RelocationSectionBase *RelocSec : RelocSections) { in handleArgs()
716 auto Iter = RenamedSections.find(RelocSec->getSection()); in handleArgs()
718 RelocSec->Name = (RelocSec->getNamePrefix() + (*Iter)->Name).str(); in handleArgs()
731 } else if (auto *RelocSec = dyn_cast<RelocationSectionBase>(&Sec)) { in handleArgs() local
739 const SectionBase *TargetSec = RelocSec->getSection(); in handleArgs()
746 Sec.Name = (RelocSec->getNamePrefix() + TargetSec->Name).str(); in handleArgs()
748 Sec.Name = (RelocSec->getNamePrefix() + Config.AllocSectionsPrefix + in handleArgs()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DELFDumper.cpp317 void printStackSize(const Relocation<ELFT> &R, const Elf_Shdr &RelocSec,
6063 const Elf_Shdr &RelocSec, unsigned Ndx, in printStackSize() argument
6075 Twine(Ndx) + " in " + describe(RelocSec) + ": " + in printStackSize()
6190 const Elf_Shdr *RelocSec = StackSizeMapEntry.second; in printRelocatableStackSizes() local
6193 if (!RelocSec) { in printRelocatableStackSizes()
6215 *RelocSec, /*RawRelr=*/false, in printRelocatableStackSizes()
6220 describe(*RelocSec) + in printRelocatableStackSizes()
6226 this->printStackSize(R, *RelocSec, Ndx, SymTab, FunctionSec, in printRelocatableStackSizes()