reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Object/ELF.h
  301   Expected<ArrayRef<uint8_t>> getSectionContents(const Elf_Shdr *Sec) const;

References

include/llvm/Object/ELFObjectFile.h
  375         auto ErrorOrContents = EF.getSectionContents(&Sec);
lib/Object/ELF.cpp
  354   Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec);
tools/lld/ELF/Driver.cpp
 1491           check(obj->getObj().getSectionContents(obj->addrsigSec));
tools/lld/ELF/InputFiles.cpp
  798     ArrayRef<uint8_t> contents = check(this->getObj().getSectionContents(&sec));
  921     ArrayRef<uint8_t> contents = check(this->getObj().getSectionContents(&sec));
tools/lld/ELF/InputSection.cpp
   54   return check(file.getObj().getSectionContents(&hdr));
tools/llvm-objcopy/ELF/Object.cpp
 1447       Data = unwrapOrError(ElfFile.getSectionContents(&Shdr));
 1456       Data = unwrapOrError(ElfFile.getSectionContents(&Shdr));
 1464     Data = unwrapOrError(ElfFile.getSectionContents(&Shdr));
 1467     Data = unwrapOrError(ElfFile.getSectionContents(&Shdr));
 1470     Data = unwrapOrError(ElfFile.getSectionContents(&Shdr));
 1473     Data = unwrapOrError(ElfFile.getSectionContents(&Shdr));
 1488     Data = unwrapOrError(ElfFile.getSectionContents(&Shdr));
tools/llvm-objdump/ELFDump.cpp
  318         unwrapOrError(Elf->getSectionContents(&Shdr), FileName);
tools/llvm-readobj/ARMEHABIPrinter.h
  436   Expected<ArrayRef<uint8_t>> Contents = ELF->getSectionContents(EHT);
  503   Expected<ArrayRef<uint8_t>> Contents = ELF->getSectionContents(IT);
tools/llvm-readobj/DwarfCFIEHPrinter.h
  185   auto Result = Obj->getSectionContents(EHFrameShdr);
tools/llvm-readobj/ELFDumper.cpp
 2265         unwrapOrError(ObjF->getFileName(), Obj->getSectionContents(&Sec));
 2353         unwrapOrError(FileName, Obj->getSectionContents(GotSec));
 2411         unwrapOrError(FileName, Obj->getSectionContents(GotSec));
 2435         unwrapOrError(FileName, Obj->getSectionContents(PltSec));
 2644       unwrapOrError(ObjF->getFileName(), Obj->getSectionContents(Shdr));
 2667       unwrapOrError(ObjF->getFileName(), Obj->getSectionContents(Shdr));
 2703       ObjF->getFileName(), Obj->getSectionContents(StackMapSection));
 3872       unwrapOrError(this->FileName, Obj->getSectionContents(Sec)).data();
 3911       unwrapOrError(this->FileName, Obj->getSectionContents(Sec));
 4839         unwrapOrError(this->FileName, EF->getSectionContents(ElfSec));
 5115       unwrapOrError(ObjF->getFileName(), Obj->getSectionContents(Shdr));
 5421           unwrapOrError(this->FileName, Obj->getSectionContents(&Sec));
 5780       Obj->getSectionContents(this->dumper()->getDotAddrsigSec()));
 5944         unwrapOrError(this->FileName, Obj->getSectionContents(&Shdr));
 6094       unwrapOrError(ObjF->getFileName(), Obj->getSectionContents(Shdr));
tools/obj2yaml/elf2yaml.cpp
  517   auto ContentOrErr = Obj.getSectionContents(Shdr);
  550   auto ContentOrErr = Obj.getSectionContents(Shdr);
  647     auto ContentOrErr = Obj.getSectionContents(Shdr);
  695   auto ContentOrErr = Obj.getSectionContents(Shdr);
  731   auto ContentOrErr = Obj.getSectionContents(Shdr);
  785   auto Contents = Obj.getSectionContents(Shdr);
  845   auto Contents = Obj.getSectionContents(Shdr);
  950   auto ContentOrErr = Obj.getSectionContents(Shdr);