| /src/external/apache2/llvm/dist/llvm/bindings/python/llvm/ |
| object.py | 17 symbols, and relocations. These are represented by the classes ObjectFile, 29 relocations, call get_relocations() on a Section instance. 34 The LLVM bindings expose iteration over sections, symbols, and relocations in a 240 """Obtain the relocations in this Section. 250 relocations = lib.LLVMGetRelocations(self) 253 if lib.LLVMIsRelocationIteratorAtEnd(self, relocations): 256 last = Relocation(relocations) 262 lib.LLVMMoveToNextRelocation(relocations) 268 lib.LLVMDisposeRelocationIterator(relocations) 362 Relocations are created from objects derived from Section instances [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/ |
| WasmDumper.cpp | 121 ListScope D(W, "Relocations"); 130 for (const RelocationRef &Reloc : Section.relocations()) { 204 ListScope D(W, "Relocations"); 205 for (const RelocationRef &Reloc : Section.relocations())
|
| MachODumper.cpp | 490 ListScope D(W, "Relocations"); 491 for (const RelocationRef &Reloc : Section.relocations()) 512 ListScope D(W, "Relocations"); 518 for (const RelocationRef &Reloc : Section.relocations()) { 582 // Scattered relocations don't really have an associated symbol for some
|
| XCOFFDumper.cpp | 128 ListScope LS(W, "Relocations"); 136 auto Relocations = unwrapOrError(Obj.getFileName(), Obj.relocations(Sec)); 137 if (Relocations.empty()) 142 for (auto Reloc : Relocations) { 506 report_fatal_error("Dumping section relocations is unimplemented");
|
| COFFDumper.cpp | 260 const auto &Relocations = RelocMap[Section]; 262 for (const auto &Relocation : Relocations) { 292 // relocations against it. 332 const auto &Relocations = RelocMap[Section]; 333 for (const auto &Relocation : Relocations) { 598 append_range(RelocMap[Section], S.relocations()); 600 // Sort relocations by address. 1070 // relocations and size of the code. 1384 ListScope D(W, "Relocations"); 1385 for (const RelocationRef &Reloc : Sec.relocations()) [all...] |
| ARMWinEHPrinter.cpp | 233 for (const auto &Relocation : Section.relocations()) {
|
| /src/share/mk/ |
| bsd.kmodule.mk | 44 # XXX This is a workaround for platforms that have relative relocations 48 # relocations inside the loader and removing this workaround, as the 153 # those relocations while creating the module, as the resulting code will
|
| bsd.lib.mk | 55 # do relocations for static PIE.
|
| /src/external/apache2/llvm/dist/llvm/lib/XRay/ |
| InstrumentationMap.cpp | 118 for (const object::RelocationRef &Reloc : Section.relocations()) {
|
| /src/external/apache2/llvm/dist/llvm/lib/Object/ |
| XCOFFObjectFile.cpp | 326 auto RelocationsOrErr = relocations(*SectionEntPtr); 338 auto RelocationsOrErr = relocations(*SectionEntPtr); 664 XCOFFObjectFile::relocations(const XCOFFSectionHeader32 &Sec) const { function in class:llvm::object::XCOFFObjectFile
|
| ELFObjectFile.cpp | 629 // Find the relocations in the dynamic relocation table that point to 632 for (const auto &Relocation : RelaPlt->relocations()) {
|
| /src/external/apache2/llvm/dist/llvm/tools/obj2yaml/ |
| macho2yaml.cpp | 94 TempSec.relocations.reserve(TempSec.nreloc); 95 for (const object::RelocationRef &Reloc : SecRef->relocations()) { 108 TempSec.relocations.push_back(R);
|
| coff2yaml.cpp | 195 std::vector<COFFYAML::Relocation> Relocations; 196 for (const auto &Reloc : ObjSection.relocations()) { 214 Relocations.push_back(Rel); 216 NewYAMLSection.Relocations = Relocations;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Object/ |
| XCOFFObjectFile.h | 187 // Masks for packing/unpacking the r_rsize field of relocations. 375 relocations(const XCOFFSectionHeader32 &) const;
|
| ObjectFile.h | 50 /// of relocations in the object file. 132 iterator_range<relocation_iterator> relocations() const { function in class:llvm::object::SectionRef
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/ |
| MachOYAML.h | 58 std::vector<Relocation> relocations; member in struct:llvm::MachOYAML::Section
|
| /src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/ |
| MachOEmitter.cpp | 363 if (Sec.relocations.empty()) 366 for (const MachOYAML::Relocation &R : Sec.relocations) {
|
| MachOYAML.cpp | 305 IO.mapOptional("relocations", Section.relocations);
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-cxxdump/ |
| llvm-cxxdump.cpp | 88 for (const object::RelocationRef &Reloc : SR.relocations()) { 112 for (const object::RelocationRef &Reloc : SR.relocations()) {
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/ |
| COFFDump.cpp | 176 // Given a vector of relocations for a section and an offset into this section 190 // Given a vector of relocations for a section and an offset into this section 207 // Given a vector of relocations for a section and an offset into this section 446 // Given the COFF object file, this function returns the relocations for .pdata 457 append_range(Rels, Section.relocations()); 459 // Sort relocations by address. 549 /// struct are filled with zeros, but instead there are relocations pointing to 551 /// time. This function interprets the relocations to find the data to be used
|
| llvm-objdump.cpp | 200 bool objdump::Relocations; 395 /// relocations, usually because it is the trailing part of a multipart 406 // On arches that use the generic relocations, GENERIC_RELOC_PAIR 540 // Hexagon's packets require relocations to be inline rather than 796 // Returns a map from sections to their relocations. 814 append_range(V, Sec.relocations()); 815 // Sort relocations by address. 1369 // For --reloc: print zero blocks patched by relocations, so that 1370 // relocations can be shown in the dump. 1433 // N.B. We don't walk the relocations in the relocatable case yet [all...] |
| MachODump.cpp | 463 // NOTE: Scattered relocations don't exist on x86_64. 554 } else { // ARM-specific relocations 558 // Half relocations steal a bit from the length field to encode 1450 for (const RelocationRef &Reloc : Section.relocations()) { 1600 for (const RelocationRef &Reloc : Section.relocations()) { 1897 if (Disassemble || Relocations || PrivateHeaders || ExportsTrie || Rebase || 1959 if (Relocations) 2626 for (const RelocationRef &Reloc : info->S.relocations()) { 2736 for (const RelocationRef &Reloc : info->S.relocations()) { 2741 // NOTE: Scattered relocations don't exist on x86_64 [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| RuntimeDyld.cpp | 122 // Resolve the relocations for all symbols we currently know about. 128 dumpSectionMemory(Sections[i], "before relocations");); 130 // First, resolve relocations associated with external symbols. 140 dumpSectionMemory(Sections[i], "after relocations");); 144 // Iterate over all outstanding relocations 145 for (auto it = Relocations.begin(), e = Relocations.end(); it != e; ++it) { 151 LLVM_DEBUG(dbgs() << "Resolving relocations Section #" << Idx << "\t" 155 Relocations.clear(); 311 if (!Name.empty()) // Skip absolute symbol relocations [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/MC/ |
| WinCOFFObjectWriter.cpp | 85 int Relocations = 0; 110 using relocations = std::vector<COFFRelocation>; 120 relocations Relocations; 580 if (Section->Relocations.size() >= 0xffff) 645 // Write relocations for this section. 646 if (Sec.Relocations.empty()) { 655 if (Sec.Relocations.size() >= 0xffff) { 659 R.VirtualAddress = Sec.Relocations.size() + 1; 665 for (const auto &Relocation : Sec.Relocations) [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/dsymutil/ |
| DwarfLinkerForBinary.cpp | 491 /// Iterate over the relocations of the given \p Section and 506 for (const object::RelocationRef &Reloc : Section.relocations()) { 533 // Mach-o uses REL relocations, the addend is at the relocation offset. 539 // The address of the base symbol for scattered relocations is 584 // Sort the relocations by offset. We will walk the DIEs linearly in 592 /// Look for relocations in the debug_info and debug_addr section that match 593 /// entries in the debug map. These relocations will drive the Dwarf link by 595 /// \returns whether there are any valid relocations in the debug info. 706 // FIXME: Support relocations debug_addr. 751 /// Apply the valid relocations found by findValidRelocs() t [all...] |