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

References

include/llvm/BinaryFormat/MachO.h
 1258 inline void swapStruct(any_relocation_info &reloc) {
include/llvm/MC/MCMachObjectWriter.h
  100     MachO::any_relocation_info MRE;
  101     RelAndSymbol(const MCSymbol *Sym, const MachO::any_relocation_info &MRE)
  228                      MachO::any_relocation_info &MRE) {
include/llvm/Object/MachO.h
  470   bool isRelocationScattered(const MachO::any_relocation_info &RE) const;
  472                                     const MachO::any_relocation_info &RE) const;
  473   bool getPlainRelocationExternal(const MachO::any_relocation_info &RE) const;
  475                                     const MachO::any_relocation_info &RE) const;
  477                                     const MachO::any_relocation_info &RE) const;
  479                                     const MachO::any_relocation_info &RE) const;
  480   unsigned getAnyRelocationAddress(const MachO::any_relocation_info &RE) const;
  481   unsigned getAnyRelocationPCRel(const MachO::any_relocation_info &RE) const;
  482   unsigned getAnyRelocationLength(const MachO::any_relocation_info &RE) const;
  483   unsigned getAnyRelocationType(const MachO::any_relocation_info &RE) const;
  484   SectionRef getAnyRelocationSection(const MachO::any_relocation_info &RE) const;
  543   MachO::any_relocation_info getRelocation(DataRefImpl Rel) const;
lib/DebugInfo/DWARF/DWARFContext.cpp
 1349   auto RelocInfo = MachObj->getRelocation(Reloc.getRawDataRefImpl());
lib/ExecutionEngine/JITLink/MachO_arm64.cpp
  109     MachO::any_relocation_info ARI =
lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
  112     MachO::any_relocation_info ARI =
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
   61   MachO::any_relocation_info RE =
  103   MachO::any_relocation_info RelInfo =
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h
   69     MachO::any_relocation_info RelInfo =
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h
  279     MachO::any_relocation_info RelInfo =
  485     MachO::any_relocation_info RE =
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h
  107     MachO::any_relocation_info RelInfo =
  350     MachO::any_relocation_info RE =
  376     MachO::any_relocation_info RE2 =
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h
   40     MachO::any_relocation_info RelInfo =
  151     MachO::any_relocation_info RE =
  164     MachO::any_relocation_info RE2 =
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h
   40     MachO::any_relocation_info RelInfo =
  163     MachO::any_relocation_info RE =
  176     MachO::any_relocation_info RelInfo =
lib/MC/MachObjectWriter.cpp
  861     RelocTableEnd += NumRelocs * sizeof(MachO::any_relocation_info);
lib/Object/MachOObjectFile.cpp
   68 static T getStruct(const MachOObjectFile &O, const char *P) {
   70   if (P < O.getData().begin() || P + sizeof(T) > O.getData().end())
   73   T Cmd;
   74   memcpy(&Cmd, P, sizeof(T));
  132 getPlainRelocationAddress(const MachO::any_relocation_info &RE) {
  137 getScatteredRelocationAddress(const MachO::any_relocation_info &RE) {
  142                                     const MachO::any_relocation_info &RE) {
  149 getScatteredRelocationPCRel(const MachO::any_relocation_info &RE) {
  154                                          const MachO::any_relocation_info &RE) {
  161 getScatteredRelocationLength(const MachO::any_relocation_info &RE) {
  166                                        const MachO::any_relocation_info &RE) {
 2119   MachO::any_relocation_info RE = getRelocation(Rel);
 2125   MachO::any_relocation_info RE = getRelocation(Rel);
 2150   MachO::any_relocation_info RE = getRelocation(Rel);
 2265   MachO::any_relocation_info RE = getRelocation(Rel);
 4170 MachOObjectFile::isRelocationScattered(const MachO::any_relocation_info &RE)
 4178     const MachO::any_relocation_info &RE) const {
 4185     const MachO::any_relocation_info &RE) const {
 4192     const MachO::any_relocation_info &RE) const {
 4197     const MachO::any_relocation_info &RE) const {
 4202     const MachO::any_relocation_info &RE) const {
 4207     const MachO::any_relocation_info &RE) const {
 4214     const MachO::any_relocation_info &RE) const {
 4221     const MachO::any_relocation_info &RE) const {
 4229                                    const MachO::any_relocation_info &RE) const {
 4237                                    const MachO::any_relocation_info &RE) const {
 4402 MachO::any_relocation_info
 4425   return getStruct<MachO::any_relocation_info>(
lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
  236       MachO::any_relocation_info MRE;
  293     MachO::any_relocation_info MRE;
  378     MachO::any_relocation_info MRE;
  399   MachO::any_relocation_info MRE;
lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
  231     MachO::any_relocation_info MRE;
  242   MachO::any_relocation_info MRE;
  309     MachO::any_relocation_info MRE;
  319   MachO::any_relocation_info MRE;
  470   MachO::any_relocation_info MRE;
  494     MachO::any_relocation_info MREPair;
lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
  145 static void makeRelocationInfo(MachO::any_relocation_info &MRE,
  163 makeScatteredRelocationInfo(MachO::any_relocation_info &MRE,
  278     MachO::any_relocation_info MRE;
  293   MachO::any_relocation_info MRE;
  371   MachO::any_relocation_info MRE;
lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
  205     MachO::any_relocation_info MRE;
  356   MachO::any_relocation_info MRE;
  430     MachO::any_relocation_info MRE;
  452   MachO::any_relocation_info MRE;
  496   MachO::any_relocation_info MRE;
  592   MachO::any_relocation_info MRE;
tools/dsymutil/DwarfLinker.cpp
  455     MachO::any_relocation_info MachOReloc = Obj.getRelocation(RelocDataRef);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
   87   const any_relocation_info* relocsArray =
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h
  128 inline Relocation unpackRelocation(const llvm::MachO::any_relocation_info &r,
  160 inline llvm::MachO::any_relocation_info
  181   llvm::MachO::any_relocation_info result;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  660     relOffset += sin.relocations.size() * sizeof(any_relocation_info);
 1039       any_relocation_info* rb = reinterpret_cast<any_relocation_info*>(
 1042       relOffset += sizeof(any_relocation_info);
tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
  209       Offset += sizeof(MachO::any_relocation_info) * Sec.NReloc;
tools/llvm-objcopy/MachO/MachOWriter.cpp
  118                        S.NReloc * sizeof(MachO::any_relocation_info));
  251                    Index * sizeof(MachO::any_relocation_info),
tools/llvm-objcopy/MachO/Object.h
  129   MachO::any_relocation_info Info;
tools/llvm-objdump/MachODump.cpp
  429                                       const MachO::any_relocation_info &RE,
  504   MachO::any_relocation_info RE = Obj->getRelocation(Rel);
  530       MachO::any_relocation_info RENext = Obj->getRelocation(RelNext);
  579       MachO::any_relocation_info RENext = Obj->getRelocation(RelNext);
  601         MachO::any_relocation_info RENext = Obj->getRelocation(RelNext);
  641         MachO::any_relocation_info RENext = Obj->getRelocation(RelNext);
  889     const MachO::any_relocation_info RE = O->getRelocation(Rel);
 1476     MachO::any_relocation_info RE;
 1626     MachO::any_relocation_info RE;
 2633     MachO::any_relocation_info RE;
 2651             MachO::any_relocation_info RENext;
 2707       MachO::any_relocation_info RE;
 2745     MachO::any_relocation_info RE;
 2775         MachO::any_relocation_info RENext = info->O->getRelocation(RelNext);
 2810     MachO::any_relocation_info RE;
 2845       MachO::any_relocation_info RENext;
 2956     MachO::any_relocation_info RE = info->O->getRelocation(Rel);
 2961       MachO::any_relocation_info RENext = info->O->getRelocation(RelNext);
 3337   MachO::any_relocation_info RE;
 6888     MachO::any_relocation_info RE;
 7824   auto RE = Obj->getRelocation(Reloc.getRawDataRefImpl());
tools/llvm-readobj/MachODumper.cpp
  549   MachO::any_relocation_info RE = Obj->getRelocation(DR);