|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/Object/ELFObjectFile.h 124 assert(isa<ELFObjectFileBase>(B->getObject()));
128 return static_cast<const ELFSectionRef *>(section_iterator::operator->());
176 : symbol_iterator(SymbolRef(B->getRawDataRefImpl(),
177 cast<ELFObjectFileBase>(B->getObject()))) {}
207 B->getRawDataRefImpl(), cast<ELFObjectFileBase>(B->getObject()))) {}
207 B->getRawDataRefImpl(), cast<ELFObjectFileBase>(B->getObject()))) {}
211 relocation_iterator::operator->());
476 return (*SecOrErr)->getName();
832 DataRefImpl RelData = Begin->getRawDataRefImpl();
include/llvm/Object/ObjectFile.h 204 : basic_symbol_iterator(SymbolRef(B->getRawDataRefImpl(),
205 cast<ObjectFile>(B->getObject()))) {}
lib/DebugInfo/DWARF/DWARFContext.cpp 1319 Ret.Address = RSec->getAddress();
1323 Ret.SectionIndex = RSec->getIndex();
1334 Ret.Address += SectionLoadAddress - RSec->getAddress();
1591 if (auto NameOrErr = RelocatedSection->getName())
lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp 57 Expected<StringRef> NameOrErr = Section->getName();
62 Expected<StringRef> E = Section->getContents();
67 OpdAddress = Section->getAddress();
lib/ExecutionEngine/JITLink/MachO_arm64.cpp 110 getObject().getRelocation(RelItr->getRawDataRefImpl());
lib/ExecutionEngine/JITLink/MachO_x86_64.cpp 113 getObject().getRelocation(RelItr->getRawDataRefImpl());
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp 324 bool IsCode = SI->isText();
352 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection();
360 relocation_iterator I = SI->relocation_begin();
361 relocation_iterator E = SI->relocation_end();
366 bool IsCode = RelocatedSection->isText();
424 bool IsCode = SI->isText();
634 for (const RelocationRef &Reloc : SI->relocations())
656 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection();
664 for (const RelocationRef &Reloc : SI->relocations())
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp 610 Expected<section_iterator> RelSecOrErr = si->getRelocatedSection();
618 Expected<StringRef> NameOrErr = RelSecI->getName();
626 for (elf_relocation_iterator i = si->relocation_begin(),
627 e = si->relocation_end();
667 bool IsCode = TSI->isText();
1038 uint64_t Offset = RelI->getOffset();
1047 resolveRelocation(Sections[SectionID], Offset, Address, RelI->getType(),
1061 uint64_t Offset = RelI->getOffset();
1062 unsigned RelType = RelI->getType();
1113 uint64_t RelType = RelI->getType();
1119 elf_symbol_iterator Symbol = RelI->getSymbol();
1172 bool isCode = si->isText();
1201 uint64_t Offset = RelI->getOffset();
1878 if (SI->relocation_begin() != SI->relocation_end()) {
1878 if (SI->relocation_begin() != SI->relocation_end()) {
1879 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection();
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp 62 Obj.getRelocation(RelI->getRawDataRefImpl());
68 uint64_t Offset = RelI->getOffset();
76 uint64_t SectionBaseAddr = TargetSI->getAddress();
104 Obj.getRelocation(RI->getRawDataRefImpl());
109 symbol_iterator Symbol = RI->getSymbol();
143 auto &O = *cast<MachOObjectFile>(RI->getObject());
145 Value.Offset += RI->getOffset() + OffsetToNextPC + SecI->getAddress();
145 Value.Offset += RI->getOffset() + OffsetToNextPC + SecI->getAddress();
169 uint64_t SAddr = SI->getAddress();
170 uint64_t SSize = SI->getSize();
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h 70 Obj.getRelocation(RI->getRawDataRefImpl());
74 uint64_t Offset = RI->getOffset();
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h 43 auto Symbol = RelI->getSymbol();
57 uint64_t RelType = RelI->getType();
58 uint64_t Offset = RelI->getOffset();
80 RelI->getTypeName(RelTypeName);
92 findOrEmitSection(Obj, *Section, Section->isText(), ObjSectionToID))
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h 65 auto Symbol = RelI->getSymbol();
79 uint64_t RelType = RelI->getType();
80 uint64_t Offset = RelI->getOffset();
100 RelI->getTypeName(RelTypeName);
112 findOrEmitSection(Obj, *Section, Section->isText(), ObjSectionToID))
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h 197 object::symbol_iterator Symbol = RelI->getSymbol();
208 uint64_t RelType = RelI->getType();
209 uint64_t Offset = RelI->getOffset();
256 bool IsCode = SecI->isText();
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h 280 Obj.getRelocation(RelI->getRawDataRefImpl());
299 RelInfo = Obj.getRelocation(RelI->getRawDataRefImpl());
486 Obj.getRelocation(RelI->getRawDataRefImpl());
489 uint64_t Offset = RelI->getOffset();
493 Expected<StringRef> SubtrahendNameOrErr = RelI->getSymbol()->getName();
503 Expected<StringRef> MinuendNameOrErr = RelI->getSymbol()->getName();
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h 108 Obj.getRelocation(RelI->getRawDataRefImpl());
115 auto Symbol = RelI->getSymbol();
351 MachO.getRelocation(RelI->getRawDataRefImpl());
363 uint64_t Offset = RelI->getOffset();
377 MachO.getRelocation(RelI->getRawDataRefImpl());
381 uint64_t SectionABase = SAI->getAddress();
395 uint64_t SectionBBase = SBI->getAddress();
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h 41 Obj.getRelocation(RelI->getRawDataRefImpl());
152 Obj.getRelocation(RelI->getRawDataRefImpl());
158 uint64_t Offset = RelI->getOffset();
165 Obj.getRelocation(RelI->getRawDataRefImpl());
170 uint64_t SectionABase = SAI->getAddress();
184 uint64_t SectionBBase = SBI->getAddress();
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h 41 Obj.getRelocation(RelI->getRawDataRefImpl());
164 Obj.getRelocation(RelI->getRawDataRefImpl());
167 uint64_t Offset = RelI->getOffset();
177 Obj.getRelocation(RelI->getRawDataRefImpl());
182 Expected<StringRef> SubtrahendNameOrErr = RelI->getSymbol()->getName();
204 RelInfo = Obj.getRelocation(RelI->getRawDataRefImpl());
208 Expected<StringRef> MinuendNameOrErr = RelI->getSymbol()->getName();
lib/Object/MachOObjectFile.cpp 1832 if (Sec->isData() || Sec->isBSS())
1832 if (Sec->isData() || Sec->isBSS())
2472 Sec.d.a = Rel->getRawDataRefImpl().d.a;
lib/Object/Object.cpp 254 auto NameOrErr = (*unwrap(SI))->getName();
261 return (*unwrap(SI))->getSize();
265 if (Expected<StringRef> E = (*unwrap(SI))->getContents())
272 return (*unwrap(SI))->getAddress();
277 return (*unwrap(SI))->containsSymbol(**unwrap(Sym));
282 relocation_iterator SI = (*unwrap(Section))->relocation_begin();
292 return (*unwrap(SI) == (*unwrap(Section))->relocation_end()) ? 1 : 0;
331 return (*unwrap(RI))->getOffset();
335 symbol_iterator ret = (*unwrap(RI))->getSymbol();
340 return (*unwrap(RI))->getType();
346 (*unwrap(RI))->getTypeName(ret);
lib/XRay/InstrumentationMap.cpp 82 if (Expected<StringRef> E = I->getContents())
124 uint64_t A = I->getAddress() + C - Contents.bytes_begin() + Offset;
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp 435 Expected<StringRef> Content = CurrentSection->getContents();
tools/dsymutil/MachODebugMapParser.cpp 562 if (Section == MainBinary.section_end() || Section->isText())
tools/llvm-nm/llvm-nm.cpp 521 DataRefImpl Ref = Sec->getRawDataRefImpl();
1002 DataRefImpl Symb = I->getRawDataRefImpl();
1023 DataRefImpl Ref = Sec->getRawDataRefImpl();
1045 uint32_t Flags = I->getFlags();
1052 uint32_t Flags = I->getFlags();
1084 uint32_t Symflags = I->getFlags();
tools/llvm-objcopy/MachO/MachOReader.cpp 104 R.Info = MachOObj.getRelocation(RI->getRawDataRefImpl());
tools/llvm-objdump/COFFDump.cpp 403 if (I->getDllName(DllName))
405 if (I->getOrdinalBase(OrdinalBase))
412 if (I->getOrdinal(Ordinal))
415 if (I->getExportRVA(RVA))
418 if (I->isForwarder(IsForwarder))
431 if (I->getSymbolName(Name))
437 if (I->getForwardTo(S))
tools/llvm-objdump/ELFDump.cpp 91 Obj->getSection((*SymSI)->getRawDataRefImpl());
tools/llvm-objdump/MachODump.cpp 490 if (Expected<StringRef> NameOrErr = SI->getName())
888 const DataRefImpl Rel = Reloc->getRawDataRefImpl();
1019 uint32_t nsects = O->section_end()->getRawDataRefImpl().d.a;
1124 DI->getOffset(Offset);
1127 DI->getLength(Length);
1130 DI->getKind(Kind);
2824 Rel = Reloc->getRawDataRefImpl();
2835 symbol_iterator RelocSym = Reloc->getSymbol();
2955 DataRefImpl Rel = Reloc->getRawDataRefImpl();
2971 unwrapOrError(Reloc->getSymbol()->getName(), info->O->getFileName())
7324 DI->getOffset(Offset);
tools/llvm-objdump/llvm-objdump.cpp 1820 if (Expected<StringRef> NameOrErr = Section->getName())
1870 DataRefImpl DR = Section->getRawDataRefImpl();
1875 unwrapOrError(Section->getName(), O->getFileName());
tools/llvm-readobj/ELFDumper.cpp 4906 Obj->getSection((*RelSecOrErr)->getRawDataRefImpl());
tools/llvm-readobj/MachODumper.cpp 565 TargetName = unwrapOrError(Obj->getFileName(), SecI->getName());
638 SectionName = unwrapOrError(Obj->getFileName(), SecI->getName());
tools/llvm-rtdyld/llvm-rtdyld.cpp 459 Address.SectionIndex = Sec->getIndex();
463 Addr += SectionLoadAddress - Sec->getAddress();
465 Address.SectionIndex = SecOrErr.get()->getIndex();