HomeSort by: relevance | last modified time | path
    Searched refs:Relocation (Results 1 - 25 of 29) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
COFFYAML.h 57 struct Relocation {
61 // Normally a Relocation can refer to the symbol via its name.
77 std::vector<Relocation> Relocations;
118 LLVM_YAML_IS_SEQUENCE_VECTOR(COFFYAML::Relocation)
199 struct MappingTraits<COFFYAML::Relocation> {
200 static void mapping(IO &IO, COFFYAML::Relocation &Rel);
MachOYAML.h 30 struct Relocation {
58 std::vector<Relocation> relocations;
161 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::MachOYAML::Relocation)
217 template <> struct MappingTraits<MachOYAML::Relocation> {
218 static void mapping(IO &IO, MachOYAML::Relocation &R);
WasmYAML.h 110 struct Relocation {
187 std::vector<Relocation> Relocations;
419 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Relocation)
493 template <> struct MappingTraits<WasmYAML::Relocation> {
494 static void mapping(IO &IO, WasmYAML::Relocation &Relocation);
ELFYAML.h 184 Relocation,
589 struct Relocation {
597 Optional<std::vector<Relocation>> Relocations;
600 RelocationSection() : Section(ChunkKind::Relocation) {}
607 return S->Kind == ChunkKind::Relocation;
749 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::Relocation)
938 template <> struct MappingTraits<ELFYAML::Relocation> {
939 static void mapping(IO &IO, ELFYAML::Relocation &Rel);
  /src/external/apache2/llvm/dist/llvm/bindings/python/llvm/tests/
test_object.py 5 from ..object import Relocation
63 for relocation in section.get_relocations():
64 assert isinstance(relocation, Relocation)
65 assert isinstance(relocation.address, Integral)
66 assert isinstance(relocation.offset, Integral)
67 assert isinstance(relocation.type_number, Integral)
68 assert isinstance(relocation.type_name, str)
69 assert isinstance(relocation.value_string, str)
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/COFF/
Object.h 27 struct Relocation {
28 Relocation() = default;
29 Relocation(const object::coff_relocation &R) : Reloc(R) {}
38 std::vector<Relocation> Relocs;
Object.cpp 57 for (const Relocation &R : Sec.Relocs) {
61 "relocation target %zu not found", R.Target);
Reader.cpp 179 for (Relocation &R : Sec.Relocs) {
Writer.cpp 29 for (Relocation &R : Sec.Relocs) {
33 "relocation target '%s' (%zu) not found",
  /src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
MachOYAML.cpp 278 void MappingTraits<MachOYAML::Relocation>::mapping(
279 IO &IO, MachOYAML::Relocation &Relocation) {
280 IO.mapRequired("address", Relocation.address);
281 IO.mapRequired("symbolnum", Relocation.symbolnum);
282 IO.mapRequired("pcrel", Relocation.is_pcrel);
283 IO.mapRequired("length", Relocation.length);
284 IO.mapRequired("extern", Relocation.is_extern);
285 IO.mapRequired("type", Relocation.type);
286 IO.mapRequired("scattered", Relocation.is_scattered)
    [all...]
WasmYAML.cpp 317 void MappingTraits<WasmYAML::Relocation>::mapping(
318 IO &IO, WasmYAML::Relocation &Relocation) {
319 IO.mapRequired("Type", Relocation.Type);
320 IO.mapRequired("Index", Relocation.Index);
321 IO.mapRequired("Offset", Relocation.Offset);
322 IO.mapOptional("Addend", Relocation.Addend, 0);
MachOEmitter.cpp 331 makeRelocationInfo(const MachOYAML::Relocation &R, bool IsLE) {
332 assert(!R.is_scattered && "non-scattered relocation expected");
347 makeScatteredRelocationInfo(const MachOYAML::Relocation &R) {
348 assert(R.is_scattered && "scattered relocation expected");
366 for (const MachOYAML::Relocation &R : Sec.relocations) {
COFFYAML.cpp 409 void MappingTraits<COFFYAML::Relocation>::mapping(IO &IO,
410 COFFYAML::Relocation &Rel) {
COFFEmitter.cpp 515 for (const COFFYAML::Relocation &R : S.Relocations) {
  /src/external/apache2/llvm/dist/llvm/lib/Object/
ELFObjectFile.cpp 629 // Find the relocations in the dynamic relocation table that point to
632 for (const auto &Relocation : RelaPlt->relocations()) {
633 if (Relocation.getType() != JumpSlotReloc)
635 auto PltEntryIter = GotToPlt.find(Relocation.getOffset());
637 symbol_iterator Sym = Relocation.getSymbol();
  /src/external/apache2/llvm/dist/llvm/lib/MC/
WinCOFFObjectWriter.cpp 100 // This class contains staging data for a COFF relocation entry.
102 COFF::relocation Data;
194 void WriteRelocation(const COFF::relocation &R);
595 void WinCOFFObjectWriter::WriteRelocation(const COFF::relocation &R) {
656 // In case of overflow, write actual relocation count as first
657 // relocation. Including the synthetic reloc itself (+ 1).
658 COFF::relocation R;
665 for (const auto &Relocation : Sec.Relocations)
666 WriteRelocation(Relocation.Data);
719 assert(Target.getSymA() && "Relocation must reference a symbol!")
    [all...]
  /src/external/apache2/llvm/dist/llvm/bindings/python/llvm/
object.py 18 Section, Symbol, and Relocation, respectively.
39 To aid working around this limitation, each Section, Symbol, and Relocation
94 "Relocation",
242 This is a generator for llvm.object.Relocation instances.
256 last = Relocation(relocations)
357 class Relocation(LLVMObject):
358 """Represents a relocation definition."""
360 """Create a new relocation instance.
365 a Relocation instance.
375 """The offset of this relocation, in long bytes.""
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
coff2yaml.cpp 195 std::vector<COFFYAML::Relocation> Relocations;
198 COFFYAML::Relocation Rel;
elf2yaml.cpp 67 ELFYAML::Relocation &R);
707 ELFYAML::Relocation &R) {
716 // We have might have a relocation with symbol index 0,
785 // relocation section that normally has no value in this field.
1070 ELFYAML::Relocation R;
1080 ELFYAML::Relocation R;
wasm2yaml.cpp 382 WasmYAML::Relocation R;
  /src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
ELFDumper.cpp 184 template <class ELFT> class Relocation {
186 Relocation(const typename ELFT::Rel &R, bool IsMips64EL)
190 Relocation(const typename ELFT::Rela &R, bool IsMips64EL)
191 : Relocation((const typename ELFT::Rel &)R, IsMips64EL) {
266 virtual void printRelRelaReloc(const Relocation<ELFT> &R,
271 void printReloc(const Relocation<ELFT> &R, unsigned RelIndex,
273 void printDynamicReloc(const Relocation<ELFT> &R);
278 llvm::function_ref<void(const Relocation<ELFT> &, unsigned,
305 void printStackSize(const Relocation<ELFT> &R, const Elf_Shdr &RelocSec,
376 Expected<RelSymbol<ELFT>> getRelocationTarget(const Relocation<ELFT> &R
    [all...]
COFFDumper.cpp 256 // symbol used for the relocation at the offset.
262 for (const auto &Relocation : Relocations) {
263 uint64_t RelocationOffset = Relocation.getOffset();
266 SymI = Relocation.getSymbol();
277 // of the symbol used for the relocation at the offset.
333 for (const auto &Relocation : Relocations) {
334 uint64_t RelocationOffset = Relocation.getOffset();
336 printRelocation(Sec, Relocation, OffsetStart);
1094 // First four bytes is a relocation against the function.
1452 DictScope Group(W, "Relocation");
    [all...]
ARMWinEHPrinter.cpp 233 for (const auto &Relocation : Section.relocations()) {
234 uint64_t RelocationOffset = Relocation.getOffset();
236 return *Relocation.getSymbol();
267 // Try to locate a relocation that points at the offset in the section
271 // We found a relocation symbol; the immediate offset needs to be added
287 // No matching relocation found; operating on a linked image. Try to
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ELF/
Object.h 724 struct Relocation {
731 // All relocation sections denote relocations to apply to another section.
732 // However, some relocation sections use a dynamic symbol table and others use
737 // different classes, one which handles the section the relocation is applied to
773 std::vector<Relocation> Relocations;
776 void addRelocation(Relocation Rel) { Relocations.push_back(Rel); }
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
StatepointLowering.cpp 909 // Record for later use how each relocation was lowered. This is needed to
1025 // each relocation on normal and exceptional path for an invoke. We only
1199 // If relocation was done via virtual register..
1209 SDValue Relocation = RFV.getCopyFromRegs(DAG, FuncInfo, getCurSDLoc(),
1211 setValue(&Relocate, Relocation);

Completed in 41 milliseconds

1 2