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

References

tools/llvm-objdump/MachODump.cpp
 2613   if (TagType != 1 || !info->verbose)
 2616   unsigned int Arch = info->O->getArch();
 2620     if (info->O->getHeader().filetype != MachO::MH_OBJECT) {
 2629     uint32_t sect_addr = info->S.getAddress();
 2638     for (const RelocationRef &Reloc : info->S.relocations()) {
 2642         RE = info->O->getRelocation(Rel);
 2643         r_type = info->O->getAnyRelocationType(RE);
 2644         r_scattered = info->O->isRelocationScattered(RE);
 2646           r_value = info->O->getScatteredRelocationValue(RE);
 2650             info->O->moveRelocationNext(RelNext);
 2652             RENext = info->O->getRelocation(RelNext);
 2653             if (info->O->isRelocationScattered(RENext))
 2654               pair_r_value = info->O->getScatteredRelocationValue(RENext);
 2659           isExtern = info->O->getPlainRelocationExternal(RE);
 2672           unwrapOrError(Symbol.getName(), info->O->getFileName()).data();
 2679       const char *add = GuessSymbolName(r_value, info->AddrMap);
 2680       const char *sub = GuessSymbolName(pair_r_value, info->AddrMap);
 2703     if (info->O->getHeader().filetype != MachO::MH_OBJECT) {
 2710       for (const RelocationRef &Reloc : info->O->external_relocations()) {
 2714           RE = info->O->getRelocation(Rel);
 2716           isExtern = info->O->getPlainRelocationExternal(RE);
 2729         if (info->O->getAnyRelocationPCRel(RE))
 2732             unwrapOrError(Symbol.getName(), info->O->getFileName()).data();
 2741     uint64_t sect_addr = info->S.getAddress();
 2748     for (const RelocationRef &Reloc : info->S.relocations()) {
 2752         RE = info->O->getRelocation(Rel);
 2754         isExtern = info->O->getPlainRelocationExternal(RE);
 2767       if (info->O->getAnyRelocationPCRel(RE))
 2770           unwrapOrError(Symbol.getName(), info->O->getFileName()).data();
 2771       unsigned Type = info->O->getAnyRelocationType(RE);
 2774         info->O->moveRelocationNext(RelNext);
 2775         MachO::any_relocation_info RENext = info->O->getRelocation(RelNext);
 2776         unsigned TypeNext = info->O->getAnyRelocationType(RENext);
 2777         bool isExternNext = info->O->getPlainRelocationExternal(RENext);
 2778         unsigned SymbolNum = info->O->getPlainRelocationSymbolNum(RENext);
 2782           symbol_iterator RelocSymNext = info->O->getSymbolByIndex(SymbolNum);
 2784           name = unwrapOrError(Symbol.getName(), info->O->getFileName()).data();
 2798     if (info->O->getHeader().filetype != MachO::MH_OBJECT) {
 2807     uint32_t sect_addr = info->S.getAddress();
 2816         find_if(info->S.relocations(), [&](const RelocationRef &Reloc) {
 2821     if (Reloc == info->S.relocations().end())
 2825     RE = info->O->getRelocation(Rel);
 2826     r_length = info->O->getAnyRelocationLength(RE);
 2827     r_scattered = info->O->isRelocationScattered(RE);
 2829       r_value = info->O->getScatteredRelocationValue(RE);
 2830       r_type = info->O->getScatteredRelocationType(RE);
 2832       r_type = info->O->getAnyRelocationType(RE);
 2833       isExtern = info->O->getPlainRelocationExternal(RE);
 2844       info->O->moveRelocationNext(RelNext);
 2846       RENext = info->O->getRelocation(RelNext);
 2847       other_half = info->O->getAnyRelocationAddress(RENext) & 0xffff;
 2848       if (info->O->isRelocationScattered(RENext))
 2849         pair_r_value = info->O->getScatteredRelocationValue(RENext);
 2854           unwrapOrError(Symbol.getName(), info->O->getFileName()).data();
 2899       const char *add = GuessSymbolName(r_value, info->AddrMap);
 2900       const char *sub = GuessSymbolName(pair_r_value, info->AddrMap);
 2924     const char *add = GuessSymbolName(value, info->AddrMap);
 2935     if (info->O->getHeader().filetype != MachO::MH_OBJECT) {
 2944     uint64_t sect_addr = info->S.getAddress();
 2947         find_if(info->S.relocations(), [&](const RelocationRef &Reloc) {
 2952     if (Reloc == info->S.relocations().end())
 2956     MachO::any_relocation_info RE = info->O->getRelocation(Rel);
 2957     uint32_t r_type = info->O->getAnyRelocationType(RE);
 2960       info->O->moveRelocationNext(RelNext);
 2961       MachO::any_relocation_info RENext = info->O->getRelocation(RelNext);
 2963         value = info->O->getPlainRelocationSymbolNum(RENext);
 2968     if (!info->O->getPlainRelocationExternal(RE))
 2971         unwrapOrError(Reloc->getSymbol()->getName(), info->O->getFileName())