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

References

include/llvm/Object/ELFObjectFile.h
  132     return static_cast<const ELFSectionRef &>(section_iterator::operator*());
  216         relocation_iterator::operator*());
include/llvm/Object/ObjectFile.h
  208     const BasicSymbolRef &P = basic_symbol_iterator::operator *();
  213     const BasicSymbolRef &P = basic_symbol_iterator::operator *();
lib/DebugInfo/DWARF/DWARFContext.cpp
 1333     if (uint64_t SectionLoadAddress = L->getSectionLoadAddress(*RSec))
 1511     for (const SectionRef &Section : Obj.sections()) {
 1543       if (!L || !L->getLoadedSectionContents(*RelocatedSection, Data)) {
 1600       if (L && L->getLoadedSectionContents(*RelocatedSection, RelSecData))
 1622           Map = &static_cast<DWARFSectionMap &>(InfoSections[*RelocatedSection])
 1626                      InfoDWOSections[*RelocatedSection])
 1630               &static_cast<DWARFSectionMap &>(TypesSections[*RelocatedSection])
 1634                      TypesDWOSections[*RelocatedSection])
 1648       for (const RelocationRef &Reloc : Section.relocations()) {
lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
   56     for (section_iterator Section : Obj->sections()) {
  130   for (const ExportDirectoryEntryRef &Ref : CoffObj->export_directories()) {
  321   for (SectionRef Sec : Module->sections()) {
lib/DebugInfo/Symbolize/Symbolize.cpp
  247   for (const SectionRef &Section : Obj->sections()) {
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp
  105   for (auto &SecRef : Obj.sections()) {
lib/ExecutionEngine/JITLink/MachO_arm64.cpp
  205     for (auto &S : Obj.sections()) {
lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
  207     for (auto &S : Obj.sections()) {
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
  321       if (auto Err = getOffset(*I, *SI, SectOffset))
  327               findOrEmitSection(Obj, *SI, IsCode, LocalSections))
  368     if (auto SectionIDOrErr = findOrEmitSection(Obj, *RelocatedSection, IsCode,
  421       if (LocalSections.find(*SI) != LocalSections.end())
  426               findOrEmitSection(Obj, *SI, IsCode, LocalSections))
  531     const SectionRef &Section = *SI;
  634     for (const RelocationRef &Reloc : SI->relocations())
  664     for (const RelocationRef &Reloc : SI->relocations())
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  162   for (const auto &Sec : Obj->sections()) {
  174       if (uint64_t SecLoadAddr = L.getSectionLoadAddress(*SI)) {
  574   for (auto &Section : Obj.sections()) {
  668       if (auto SectionIDOrErr = findOrEmitSection(Obj, *TSI, IsCode,
 1115   if (Expected<int64_t> AddendOrErr = ELFRelocationRef(*RelI).getAddend())
 1173       if (auto SectionIDOrErr = findOrEmitSection(Obj, (*si), isCode,
 1885           ObjSectionToIDMap::iterator i = SectionMap.find(*RelocatedSection);
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
   77   SectionRef TargetSection = *TargetSI;
  234   for (const auto &Section : Obj.sections()) {
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h
   92           findOrEmitSection(Obj, *Section, Section->isText(), ObjSectionToID))
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h
   42              .getCOFFSection(*Section)
  112           findOrEmitSection(Obj, *Section, Section->isText(), ObjSectionToID))
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h
  259           findOrEmitSection(Obj, *SecI, IsCode, ObjSectionToID))
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h
  383     SectionRef SectionA = *SAI;
  397     SectionRef SectionB = *SBI;
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h
  172     SectionRef SectionA = *SAI;
  186     SectionRef SectionB = *SBI;
lib/LTO/LTO.cpp
  444     for (const irsymtab::Reader::SymbolRef &Sym :
lib/Object/ArchiveWriter.cpp
  377   for (const object::BasicSymbolRef &S : Obj->symbols()) {
lib/Object/COFFObjectFile.cpp
  458   for (const SectionRef &S : sections()) {
  474   for (const SectionRef &S : sections()) {
  974   for (const SectionRef &Section : sections()) {
 1749   for (const SectionRef &S : O->sections()) {
 1850     for (const SectionRef &S : Obj->sections()) {
lib/Object/ELFObjectFile.cpp
  409   for (const SectionRef &Section : sections()) {
  441   for (const auto &Relocation : RelaPlt->relocations()) {
lib/Object/IRObjectFile.cpp
   75   for (const SectionRef &Sec : Obj.sections()) {
lib/Object/MachOObjectFile.cpp
 1994   for (const SectionRef &Section : sections()) {
 4000   for (const SectionRef &Section : Obj->sections()) {
 4239     return *section_end();
 4242     return *section_end();
lib/Object/ObjectFile.cpp
   47   return *this == **SymSec;
lib/Object/SymbolSize.cpp
   62   for (SectionRef Sec : O.sections()) {
lib/ProfileData/Coverage/CoverageMappingReader.cpp
  669   for (const auto &Section : OF.sections()) {
lib/XRay/InstrumentationMap.cpp
  102     for (const object::SectionRef &Section : Sections) {
  103       for (const object::RelocationRef &Reloc : Section.relocations()) {
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
  336     for (auto &Section : OF->sections()) {
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
  423           IsOffloadSection(*CurrentSection);
tools/dsymutil/DwarfLinker.cpp
  448   for (const object::RelocationRef &Reloc : Section.relocations()) {
  539   for (const object::SectionRef &Section : Obj.sections()) {
tools/dsymutil/DwarfStreamer.cpp
   32   for (const object::SectionRef &Section : Obj.sections()) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  514       for (const ExportEntry &trieExport : MachOObjectFile::exports(Err, trie)) {
tools/lld/wasm/InputFiles.cpp
  287   for (const SectionRef &sec : wasmObj->sections()) {
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
  971   for (const auto &entry : COFFObj->import_directories()) {
tools/llvm-cfi-verify/lib/FileAnalysis.cpp
  448   for (const object::SectionRef &Section : Object->sections()) {
tools/llvm-cov/TestingSupport.cpp
   52   for (const auto &Section : OF->sections()) {
tools/llvm-cxxdump/llvm-cxxdump.cpp
   88     for (const object::RelocationRef &Reloc : SR.relocations()) {
  112     for (const object::RelocationRef &Reloc : SR.relocations()) {
  176   for (const SectionRef &Section : Obj->sections()) {
  183       SectionRelocMap[*Sec2].push_back(Section);
  203     const SectionRef &Sec = *SecI;
tools/llvm-dwp/llvm-dwp.cpp
  553     for (const auto &Section : Obj.sections())
tools/llvm-nm/llvm-nm.cpp
  961     const coff_section *Section = Obj.getCOFFSection(*SecI);
 1142   if (Obj.isELF() && ELFSymbolRef(*I).getBinding() == ELF::STB_GNU_UNIQUE)
 1156   for (auto &S : Obj->sections()) {
 1210     for (BasicSymbolRef Sym : Symbols) {
 1305       for (const llvm::object::ExportEntry &Entry : MachO->exports(Err)) {
 1362             for (const SectionRef &Section : MachO->sections()) {
 1466       for (const llvm::object::MachOBindEntry &Entry : MachO->bindTable(BErr)) {
 1520       for (const llvm::object::MachOBindEntry &Entry :
 1581       for (const llvm::object::MachOBindEntry &Entry :
 1688           for (const SectionRef &Section : MachO->sections()) {
tools/llvm-objdump/COFFDump.cpp
  169   ResolvedSection = Obj->getCOFFSection(**Iter);
  355   for (const ImportDirectoryEntryRef &DirRef : Obj->import_directories()) {
  369     for (const ImportedSymbolRef &Entry : DirRef.imported_symbols()) {
  450   for (const SectionRef &Section : Obj->sections()) {
  456     for (const RelocationRef &Reloc : Section.relocations())
  640   for (const object::BasicSymbolRef &Sym : i->symbols()) {
tools/llvm-objdump/MachODump.cpp
  375   for (const SectionRef &Section : MachOObj->sections())
 1452   for (const SectionRef &Section : O->sections()) {
 1474   for (const RelocationRef &Reloc : Section.relocations()) {
 1624   for (const RelocationRef &Reloc : Section.relocations()) {
 1749     for (const SectionRef &Section : O->sections()) {
 1850   for (const SectionRef &Section : O->sections()) {
 1952     for (const SectionRef &Section : MachOOF->sections()) {
 2638     for (const RelocationRef &Reloc : info->S.relocations()) {
 2710       for (const RelocationRef &Reloc : info->O->external_relocations()) {
 2748     for (const RelocationRef &Reloc : info->S.relocations()) {
 3340   for (const RelocationRef &Reloc : S.relocations()) {
 4087   for (const SectionRef &Section : O->sections()) {
 6115   for (const SectionRef &Section : O->sections())
 6197   for (const SectionRef &Section : O->sections())
 6292   for (const SectionRef &Section : O->sections())
 6450   for (const SectionRef &Section : O->sections())
 6891     for (const RelocationRef &Reloc : info->S.relocations()) {
 7325     Dices.push_back(std::make_pair(BaseAddress + Offset, *DI));
 7847   if (RelocSection == *SymSection) {
 7906   for (const RelocationRef &Reloc : CompactUnwind.relocations()) {
 8223   for (const SectionRef &Section : Obj->sections()) {
10257   for (const object::ExportEntry &Entry : Obj->exports(Err)) {
10321   for (const object::MachORebaseEntry &Entry : Obj->rebaseTable(Err)) {
10365   for (const object::MachOBindEntry &Entry : Obj->bindTable(Err)) {
10395   for (const object::MachOBindEntry &Entry : Obj->lazyBindTable(Err)) {
10420   for (const object::MachOBindEntry &Entry : Obj->weakBindTable(Err)) {
10453     for (const object::MachOBindEntry &Entry : info->O->bindTable(Err)) {
tools/llvm-objdump/llvm-objdump.cpp
  926     AllSymbols[*SecI].emplace_back(Address, Name, SymbolType);
  950   for (const SectionRef &Section : Obj->sections()) {
  998   for (SectionRef Sec : Obj.sections()) {
 1008     if (Relocated == Obj.section_end() || !checkSectionFilter(*Relocated).Keep)
 1010     std::vector<RelocationRef> &V = Ret[*Relocated];
 1011     for (const RelocationRef &R : Sec.relocations())
 1153       AllSymbols[*SecI].emplace_back(Address, Name, SymbolType);
 1166   for (SectionRef Sec : Obj->sections())
 1173     for (const auto &ExportEntry : COFFObj->export_directories()) {
 1506                   shouldAdjustVA(**SymSI))
 1630     SecToRelSec[**SecOrErr].push_back(Section);
 1638       for (const RelocationRef &Reloc : Section.relocations()) {
 1674     for (const RelocationRef &Reloc : Section.relocations()) {
 1808     const SymbolRef &Symbol = *I;
 2105   for (const SectionRef &Section : Obj->sections())
tools/llvm-objdump/llvm-objdump.h
   44   const llvm::object::SectionRef &operator*() const { return *Iterator; }
   56     while (Iterator != End && !Predicate(*Iterator)) {
tools/llvm-pdbutil/DumpOutputStyle.cpp
 1371   for (const auto &S : getObj().sections()) {
tools/llvm-pdbutil/InputFile.cpp
  139     for (const auto &S : File->obj().sections()) {
  344   for (const auto &Section : obj().sections()) {
  396   for (const auto &Section : obj().sections()) {
  488     SectionRef SR = *Iter;
tools/llvm-readobj/ARMWinEHPrinter.cpp
  213   for (const auto &Section : COFF.sections()) {
  244   for (const auto &Relocation : Section.relocations()) {
  997     return dumpXDataRecord(COFF, *SI, FunctionAddress,
 1097   for (const auto &Section : COFF.sections()) {
tools/llvm-readobj/COFFDumper.cpp
  273   Sym = *SymI;
  589   for (const SectionRef &S : Obj->sections()) {
  592     for (const RelocationRef &Reloc : S.relocations())
  892   for (const SectionRef &S : Obj->sections()) {
  899   for (const SectionRef &S : Obj->sections()) {
 1252   for (const SectionRef &S : Obj->sections()) {
 1320   for (const SectionRef &Sec : Obj->sections()) {
 1343       for (const RelocationRef &Reloc : Sec.relocations())
 1369   for (const SectionRef &Section : Obj->sections()) {
 1374     for (const RelocationRef &Reloc : Section.relocations()) {
 1607   for (const ImportDirectoryEntryRef &DirRef : Obj->import_directories()) {
 1622   for (const ImportedSymbolRef &I : Range) {
 1637   for (const ImportedSymbolRef &S : Range) {
 1657   for (const ImportDirectoryEntryRef &I : Obj->import_directories()) {
 1680   for (const DelayImportDirectoryEntryRef &I : Obj->delay_import_directories()) {
 1700   for (const ExportDirectoryEntryRef &E : Obj->export_directories()) {
 1720   for (const SectionRef &Section : Obj->sections()) {
 1746   for (const BaseRelocRef &I : Obj->base_relocs()) {
 1761   for (const SectionRef &S : Obj->sections()) {
 1886   for (auto Sec : Obj->sections()) {
 1917   for (auto Sec : Obj->sections()) {
tools/llvm-readobj/COFFImportDumper.cpp
   50   for (const object::BasicSymbolRef &Sym : File->symbols()) {
tools/llvm-readobj/ELFDumper.cpp
 4800       FunctionSec = **SectionOrErr;
 4832   for (const SectionRef &Sec : Obj->sections()) {
 4875   for (const SectionRef &Sec : Obj->sections()) {
 4947     for (const RelocationRef &Reloc : RelocSec.relocations()) {
tools/llvm-readobj/MachODumper.cpp
  462   for (const SectionRef &Section : Obj->sections()) {
  494       for (const RelocationRef &Reloc : Section.relocations())
  518   for (const SectionRef &Section : Obj->sections()) {
  521     for (const RelocationRef &Reloc : Section.relocations()) {
  666   for (auto Sec : Obj->sections()) {
tools/llvm-readobj/ObjDumper.cpp
   55   for (object::SectionRef SecRef : Obj->sections()) {
tools/llvm-readobj/WasmDumper.cpp
  135   for (const SectionRef &Section : Obj->sections()) {
  141     for (const RelocationRef &Reloc : Section.relocations()) {
  167   for (const SectionRef &Section : Obj->sections()) {
  212       for (const RelocationRef &Reloc : Section.relocations())
tools/llvm-readobj/Win64EHDumper.cpp
  158   ResolvedSection = Ctx.COFF.getCOFFSection(**SI);
  307   for (const auto &Section : Ctx.COFF.sections()) {
tools/llvm-rtdyld/llvm-rtdyld.cpp
  461             LoadedObjInfo->getSectionLoadAddress(*Sec);
tools/llvm-size/llvm-size.cpp
  382     for (const SectionRef &Section : Obj->sections()) {
  422     for (const SectionRef &Section : Obj->sections()) {
  458     for (const SectionRef &Section : Obj->sections()) {
tools/obj2yaml/coff2yaml.cpp
  106   for (const auto &S : Obj.sections()) {
  154   for (const auto &ObjSection : Obj.sections()) {
  197     for (const auto &Reloc : ObjSection.relocations()) {
tools/obj2yaml/wasm2yaml.cpp
  182   for (const auto &Sec : Obj.sections()) {
tools/sancov/sancov.cpp
  665     for (const object::ExportDirectoryEntryRef &Export :
  743   for (object::SectionRef Section : O.sections()) {
usr/include/c++/7.4.0/bits/predefined_ops.h
  283 	{ return bool(_M_pred(*__it)); }