| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/ |
| H A D | ELFObjectFile.h | 72 virtual Expected<int64_t> getRelocationAddend(DataRefImpl Rel) const = 0; 299 void moveRelocationNext(DataRefImpl &Rel) const override; 300 uint64_t getRelocationOffset(DataRefImpl Rel) const override; 301 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override; 302 uint64_t getRelocationType(DataRefImpl Rel) const override; 303 void getRelocationTypeName(DataRefImpl Rel, 399 const Elf_Rel *getRel(DataRefImpl Rel) const; 407 const Elf_Shdr *getRelSection(DataRefImpl Rel) const { in getRelSection() argument 408 auto RelSecOrErr = EF.getSection(Rel.d.a); in getRelSection() 427 Expected<int64_t> getRelocationAddend(DataRefImpl Rel) const override; [all …]
|
| H A D | MachO.h | 335 void moveRelocationNext(DataRefImpl &Rel) const override; 336 uint64_t getRelocationOffset(DataRefImpl Rel) const override; 337 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override; 338 section_iterator getRelocationSection(DataRefImpl Rel) const; 339 uint64_t getRelocationType(DataRefImpl Rel) const override; 340 void getRelocationTypeName(DataRefImpl Rel, 342 uint8_t getRelocationLength(DataRefImpl Rel) const; 348 section_iterator getRelocationRelocatedSection(relocation_iterator Rel) const; 544 MachO::any_relocation_info getRelocation(DataRefImpl Rel) const; 545 MachO::data_in_code_entry getDice(DataRefImpl Rel) const;
|
| H A D | Wasm.h | 197 void moveRelocationNext(DataRefImpl &Rel) const override; 198 uint64_t getRelocationOffset(DataRefImpl Rel) const override; 199 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override; 200 uint64_t getRelocationType(DataRefImpl Rel) const override; 201 void getRelocationTypeName(DataRefImpl Rel,
|
| H A D | XCOFFObjectFile.h | 302 void moveRelocationNext(DataRefImpl &Rel) const override; 307 uint64_t getRelocationOffset(DataRefImpl Rel) const override; 308 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override; 309 uint64_t getRelocationType(DataRefImpl Rel) const override; 310 void getRelocationTypeName(DataRefImpl Rel,
|
| H A D | ObjectFile.h | 284 virtual void moveRelocationNext(DataRefImpl &Rel) const = 0; 285 virtual uint64_t getRelocationOffset(DataRefImpl Rel) const = 0; 286 virtual symbol_iterator getRelocationSymbol(DataRefImpl Rel) const = 0; 287 virtual uint64_t getRelocationType(DataRefImpl Rel) const = 0; 288 virtual void getRelocationTypeName(DataRefImpl Rel,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/ |
| H A D | WasmDump.cpp | 34 const wasm::WasmRelocation &Rel = Obj->getWasmRelocation(RelRef); in getWasmRelocationValueString() local 41 Fmt << Rel.Index; in getWasmRelocationValueString() 49 Fmt << (Rel.Addend < 0 ? "" : "+") << Rel.Addend; in getWasmRelocationValueString()
|
| H A D | ELFDump.cpp | 60 DataRefImpl Rel = RelRef.getRawDataRefImpl(); in getRelocationValueString() local 61 auto SecOrErr = EF.getSection(Rel.d.a); in getRelocationValueString() 74 const typename ELFT::Rela *ERela = Obj->getRela(Rel); in getRelocationValueString() 78 const typename ELFT::Rel *ERel = Obj->getRel(Rel); in getRelocationValueString() 131 const RelocationRef &Rel, in getELFRelocationValueString() argument 134 return getRelocationValueString(ELF32LE, Rel, Result); in getELFRelocationValueString() 136 return getRelocationValueString(ELF64LE, Rel, Result); in getELFRelocationValueString() 138 return getRelocationValueString(ELF32BE, Rel, Result); in getELFRelocationValueString() 140 return getRelocationValueString(ELF64BE, Rel, Result); in getELFRelocationValueString()
|
| H A D | XCOFFDump.cpp | 23 const RelocationRef &Rel, in getXCOFFRelocationValueString() argument 25 symbol_iterator SymI = Rel.getSymbol(); in getXCOFFRelocationValueString()
|
| H A D | COFFDump.h | 27 const object::RelocationRef &Rel,
|
| H A D | ELFDump.h | 28 const object::RelocationRef &Rel,
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Index/ |
| H A D | IndexingContext.cpp | 352 for (auto &Rel : Relations) { in shouldReportOccurrenceForSystemDeclOnlyMode() local 353 if (acceptForRelation(Rel.Roles)) in shouldReportOccurrenceForSystemDeclOnlyMode() 422 auto addRelation = [&](SymbolRelation Rel) { in handleDeclOccurrence() argument 424 return Elem.RelatedSymbol == Rel.RelatedSymbol; in handleDeclOccurrence() 427 It->Roles |= Rel.Roles; in handleDeclOccurrence() 429 FinalRelations.push_back(Rel); in handleDeclOccurrence() 431 Roles |= Rel.Roles; in handleDeclOccurrence() 448 for (auto &Rel : Relations) { in handleDeclOccurrence() local 449 addRelation(SymbolRelation(Rel.Roles, in handleDeclOccurrence() 450 Rel.RelatedSymbol->getCanonicalDecl())); in handleDeclOccurrence()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/ |
| H A D | ELF.cpp | 298 std::vector<typename ELFT::Rel> 330 Elf_Rel Rel; in decode_relrs() local 331 Rel.r_info = 0; in decode_relrs() 332 Rel.setType(getRelativeRelocationType(), false); in decode_relrs() 350 Rel.r_offset = Entry; in decode_relrs() 351 Relocs.push_back(Rel); in decode_relrs() 362 Rel.r_offset = Offset; in decode_relrs() 363 Relocs.push_back(Rel); in decode_relrs()
|
| H A D | XCOFFObjectFile.cpp | 346 void XCOFFObjectFile::moveRelocationNext(DataRefImpl &Rel) const { in moveRelocationNext() 347 Rel.p = reinterpret_cast<uintptr_t>(viewAs<XCOFFRelocation32>(Rel.p) + 1); in moveRelocationNext() 350 uint64_t XCOFFObjectFile::getRelocationOffset(DataRefImpl Rel) const { in getRelocationOffset() 353 const XCOFFRelocation32 *Reloc = viewAs<XCOFFRelocation32>(Rel.p); in getRelocationOffset() 369 symbol_iterator XCOFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const { in getRelocationSymbol() 372 const XCOFFRelocation32 *Reloc = viewAs<XCOFFRelocation32>(Rel.p); in getRelocationSymbol() 383 uint64_t XCOFFObjectFile::getRelocationType(DataRefImpl Rel) const { in getRelocationType() 386 return viewAs<XCOFFRelocation32>(Rel.p)->Type; in getRelocationType() 390 DataRefImpl Rel, SmallVectorImpl<char> &Result) const { in getRelocationTypeName() argument 393 const XCOFFRelocation32 *Reloc = viewAs<XCOFFRelocation32>(Rel.p); in getRelocationTypeName()
|
| H A D | COFFObjectFile.cpp | 1142 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const { in toRel() 1143 return reinterpret_cast<const coff_relocation*>(Rel.p); in toRel() 1146 void COFFObjectFile::moveRelocationNext(DataRefImpl &Rel) const { in moveRelocationNext() 1147 Rel.p = reinterpret_cast<uintptr_t>( in moveRelocationNext() 1148 reinterpret_cast<const coff_relocation*>(Rel.p) + 1); in moveRelocationNext() 1151 uint64_t COFFObjectFile::getRelocationOffset(DataRefImpl Rel) const { in getRelocationOffset() 1152 const coff_relocation *R = toRel(Rel); in getRelocationOffset() 1156 symbol_iterator COFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const { in getRelocationSymbol() 1157 const coff_relocation *R = toRel(Rel); in getRelocationSymbol() 1170 uint64_t COFFObjectFile::getRelocationType(DataRefImpl Rel) const { in getRelocationType() [all …]
|
| H A D | MachOObjectFile.cpp | 2127 void MachOObjectFile::moveRelocationNext(DataRefImpl &Rel) const { in moveRelocationNext() 2128 ++Rel.d.b; in moveRelocationNext() 2131 uint64_t MachOObjectFile::getRelocationOffset(DataRefImpl Rel) const { in getRelocationOffset() 2135 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationOffset() 2140 MachOObjectFile::getRelocationSymbol(DataRefImpl Rel) const { in getRelocationSymbol() 2141 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationSymbol() 2161 MachOObjectFile::getRelocationSection(DataRefImpl Rel) const { in getRelocationSection() 2162 return section_iterator(getAnyRelocationSection(getRelocation(Rel))); in getRelocationSection() 2165 uint64_t MachOObjectFile::getRelocationType(DataRefImpl Rel) const { in getRelocationType() 2166 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationType() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/ |
| H A D | coff2yaml.cpp | 198 COFFYAML::Relocation Rel; in dumpSections() local 209 Rel.SymbolName = *SymbolNameOrErr; in dumpSections() 211 Rel.SymbolTableIndex = reloc->SymbolTableIndex; in dumpSections() 212 Rel.VirtualAddress = reloc->VirtualAddress; in dumpSections() 213 Rel.Type = reloc->Type; in dumpSections() 214 Relocations.push_back(Rel); in dumpSections()
|
| H A D | elf2yaml.cpp | 66 Error dumpRelocation(const RelT *Rel, const Elf_Shdr *SymTab, 706 Error ELFDumper<ELFT>::dumpRelocation(const RelT *Rel, const Elf_Shdr *SymTab, in dumpRelocation() argument 708 R.Type = Rel->getType(Obj.isMips64EL()); in dumpRelocation() 709 R.Offset = Rel->r_offset; in dumpRelocation() 712 auto SymOrErr = Obj.getRelocationSymbol(*Rel, SymTab); in dumpRelocation() 1069 for (const Elf_Rel &Rel : *Rels) { in dumpRelocSection() 1071 if (Error E = dumpRelocation(&Rel, *SymTabOrErr, R)) in dumpRelocSection() 1079 for (const Elf_Rela &Rel : *Rels) { in dumpRelocSection() 1081 if (Error E = dumpRelocation(&Rel, *SymTabOrErr, R)) in dumpRelocSection() 1083 R.Addend = Rel.r_addend; in dumpRelocSection() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/ |
| H A D | COFFYAML.cpp | 410 COFFYAML::Relocation &Rel) { in mapping() argument 411 IO.mapRequired("VirtualAddress", Rel.VirtualAddress); in mapping() 412 IO.mapOptional("SymbolName", Rel.SymbolName, StringRef()); in mapping() 413 IO.mapOptional("SymbolTableIndex", Rel.SymbolTableIndex); in mapping() 418 IO, Rel.Type); in mapping() 422 IO, Rel.Type); in mapping() 426 IO, Rel.Type); in mapping() 430 IO, Rel.Type); in mapping() 433 IO.mapRequired("Type", Rel.Type); in mapping()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/ |
| H A D | MachObjectWriter.cpp | 627 for (RelAndSymbol &Rel : Relocations[&Section]) { in computeSymbolTable() 628 if (!Rel.Sym) in computeSymbolTable() 632 unsigned Index = Rel.Sym->getIndex(); in computeSymbolTable() 635 Rel.MRE.r_word1 = (Rel.MRE.r_word1 & (~0U << 24)) | Index | (1 << 27); in computeSymbolTable() 637 Rel.MRE.r_word1 = (Rel.MRE.r_word1 & 0xff) | Index << 8 | (1 << 4); in computeSymbolTable() 968 for (const RelAndSymbol &Rel : make_range(Relocs.rbegin(), Relocs.rend())) { in writeObject() local 969 W.write<uint32_t>(Rel.MRE.r_word0); in writeObject() 970 W.write<uint32_t>(Rel.MRE.r_word1); in writeObject()
|
| H A D | WasmObjectWriter.cpp | 137 raw_ostream &operator<<(raw_ostream &OS, const WasmRelocationEntry &Rel) { in operator <<() argument 138 Rel.print(OS); in operator <<() 1756 auto HandleReloc = [&](const WasmRelocationEntry &Rel) { in writeOneObject() argument 1760 if (Rel.Type != wasm::R_WASM_TABLE_INDEX_I32 && in writeOneObject() 1761 Rel.Type != wasm::R_WASM_TABLE_INDEX_I64 && in writeOneObject() 1762 Rel.Type != wasm::R_WASM_TABLE_INDEX_SLEB && in writeOneObject() 1763 Rel.Type != wasm::R_WASM_TABLE_INDEX_SLEB64 && in writeOneObject() 1764 Rel.Type != wasm::R_WASM_TABLE_INDEX_REL_SLEB && in writeOneObject() 1765 Rel.Type != wasm::R_WASM_TABLE_INDEX_REL_SLEB64) in writeOneObject() 1767 assert(Rel.Symbol->isFunction()); in writeOneObject() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/benchmarks/ |
| H A D | string.bench.cpp | 400 template <class Rel, class LHLength, class RHLength, class DiffType> 408 switch (Rel()) { in run() 424 if (Rel() == Relation::Eq && LHLength() > RHLength()) in skip() 436 return "BM_StringRelational" + Rel::name() + LHLength::name() + in name() 441 template <class Rel, class LHLength, class RHLength, class DiffType> 452 switch (Rel()) { in run() 477 return "BM_StringRelationalLiteral" + Rel::name() + LHLength::name() + in name()
|
| /netbsd-src/external/gpl3/binutils.old/dist/gold/ |
| H A D | i386.cc | 578 const elfcpp::Rel<32, false>& reloc, unsigned int r_type, 587 const elfcpp::Rel<32, false>& reloc, unsigned int r_type, 596 const elfcpp::Rel<32, false>& reloc, 606 const elfcpp::Rel<32, false>& reloc, 663 size_t relnum, const elfcpp::Rel<32, false>&, 672 const elfcpp::Rel<32, false>&, unsigned int r_type, 681 const elfcpp::Rel<32, false>&, unsigned int r_type, 690 const elfcpp::Rel<32, false>&, unsigned int r_type, 700 const elfcpp::Rel<32, false>&, unsigned int r_type, 709 const elfcpp::Rel<32, false>&, unsigned int r_type, [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/gold/ |
| H A D | i386.cc | 578 const elfcpp::Rel<32, false>& reloc, unsigned int r_type, 587 const elfcpp::Rel<32, false>& reloc, unsigned int r_type, 596 const elfcpp::Rel<32, false>& reloc, 606 const elfcpp::Rel<32, false>& reloc, 663 size_t relnum, const elfcpp::Rel<32, false>&, 672 const elfcpp::Rel<32, false>&, unsigned int r_type, 681 const elfcpp::Rel<32, false>&, unsigned int r_type, 690 const elfcpp::Rel<32, false>&, unsigned int r_type, 700 const elfcpp::Rel<32, false>&, unsigned int r_type, 709 const elfcpp::Rel<32, false>&, unsigned int r_type, [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/ |
| H A D | ELFYAML.h | 88 return sizeof(typename ELFT::Rel); in LLVM_YAML_STRONG_TYPEDEF() 895 static void mapping(IO &IO, ELFYAML::StackSizeEntry &Rel); in LLVM_YAML_IS_SEQUENCE_VECTOR() 899 static void mapping(IO &IO, ELFYAML::BBAddrMapEntry &Rel); in LLVM_YAML_IS_SEQUENCE_VECTOR() 903 static void mapping(IO &IO, ELFYAML::BBAddrMapEntry::BBEntry &Rel); in LLVM_YAML_IS_SEQUENCE_VECTOR() 907 static void mapping(IO &IO, ELFYAML::GnuHashHeader &Rel); in LLVM_YAML_IS_SEQUENCE_VECTOR() 911 static void mapping(IO &IO, ELFYAML::DynamicEntry &Rel); in LLVM_YAML_IS_SEQUENCE_VECTOR() 939 static void mapping(IO &IO, ELFYAML::Relocation &Rel); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldELF.h | 93 RelocationValueRef &Rel); 96 RelocationValueRef &Rel);
|