Home
last modified time | relevance | path

Searched refs:DataRefImpl (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DObjectFile.h52 DataRefImpl RelocationPimpl;
72 DataRefImpl getRawDataRefImpl() const;
83 DataRefImpl SectionPimpl;
140 DataRefImpl getRawDataRefImpl() const;
257 getSymbolSection(DataRefImpl Symb) const = 0;
268 getSectionContents(DataRefImpl Sec) const = 0;
278 virtual bool isBerkeleyText(DataRefImpl Sec) const;
279 virtual bool isBerkeleyData(DataRefImpl Sec) const;
280 virtual bool isDebugSection(DataRefImpl Sec) const;
423 inline SectionRef::SectionRef(DataRefImpl SectionP, in SectionRef()
[all …]
H A DSymbolicFile.h33 union DataRefImpl { union
41 DataRefImpl() { std::memset(this, 0, sizeof(DataRefImpl)); } in DataRefImpl() function
45 OStream& operator<<(OStream &OS, const DataRefImpl &D) {
51 inline bool operator==(const DataRefImpl &a, const DataRefImpl &b) {
54 return std::memcmp(&a, &b, sizeof(DataRefImpl)) == 0;
57 inline bool operator!=(const DataRefImpl &a, const DataRefImpl &b) {
61 inline bool operator<(const DataRefImpl &a, const DataRefImpl &b) {
64 return std::memcmp(&a, &b, sizeof(DataRefImpl)) < 0;
102 DataRefImpl SymbolPimpl;
137 DataRefImpl getRawDataRefImpl() const;
[all …]
H A DELFObjectFile.h303 void getRelocationTypeName(DataRefImpl Rel,
312 DataRefImpl DRI; in toDRI()
340 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI()
341 DataRefImpl DRI; in toDRI()
346 DataRefImpl toDRI(const Elf_Dyn *Dyn) const { in toDRI()
347 DataRefImpl DRI; in toDRI()
399 const Elf_Rel *getRel(DataRefImpl Rel) const;
788 DataRefImpl Sec; in getSymbolSection()
946 DataRefImpl RelData; in section_rel_begin()
1008 DataRefImpl SymbolData; in getRelocationSymbol()
[all …]
H A DMachO.h44 DataRefImpl DicePimpl;
49 DiceRef(DataRefImpl DiceP, const ObjectFile *Owner);
60 DataRefImpl getRawDataRefImpl() const;
277 uint64_t getNValue(DataRefImpl Sym) const;
302 getSectionContents(DataRefImpl Sec) const override;
307 bool isSectionText(DataRefImpl Sec) const override;
308 bool isSectionData(DataRefImpl Sec) const override;
309 bool isSectionBSS(DataRefImpl Sec) const override;
340 void getRelocationTypeName(DataRefImpl Rel,
358 uint64_t getSymbolIndex(DataRefImpl Symb) const;
[all …]
H A DWasm.h161 void moveSymbolNext(DataRefImpl &Symb) const override;
180 void moveSectionNext(DataRefImpl &Sec) const override;
183 uint64_t getSectionIndex(DataRefImpl Sec) const override;
184 uint64_t getSectionSize(DataRefImpl Sec) const override;
186 getSectionContents(DataRefImpl Sec) const override;
188 bool isSectionCompressed(DataRefImpl Sec) const override;
189 bool isSectionText(DataRefImpl Sec) const override;
190 bool isSectionData(DataRefImpl Sec) const override;
191 bool isSectionBSS(DataRefImpl Sec) const override;
192 bool isSectionVirtual(DataRefImpl Sec) const override;
[all …]
H A DXCOFFObjectFile.h317 void moveSymbolNext(DataRefImpl &Symb) const override;
329 void moveSectionNext(DataRefImpl &Sec) const override;
335 getSectionContents(DataRefImpl Sec) const override;
338 bool isSectionText(DataRefImpl Sec) const override;
339 bool isSectionData(DataRefImpl Sec) const override;
340 bool isSectionBSS(DataRefImpl Sec) const override;
341 bool isDebugSection(DataRefImpl Sec) const override;
355 void getRelocationTypeName(DataRefImpl Rel,
375 XCOFFSymbolRef toSymbolRef(DataRefImpl Ref) const;
412 int32_t getSectionFlags(DataRefImpl Sec) const;
[all …]
H A DCOFF.h832 const coff_section *toSec(DataRefImpl Sec) const;
833 const coff_relocation *toRel(DataRefImpl Rel) const;
940 void moveSymbolNext(DataRefImpl &Symb) const override;
949 void moveSectionNext(DataRefImpl &Sec) const override;
955 getSectionContents(DataRefImpl Sec) const override;
958 bool isSectionText(DataRefImpl Sec) const override;
959 bool isSectionData(DataRefImpl Sec) const override;
960 bool isSectionBSS(DataRefImpl Sec) const override;
961 bool isSectionVirtual(DataRefImpl Sec) const override;
962 bool isDebugSection(DataRefImpl Sec) const override;
[all …]
H A DCOFFImportFile.h37 void moveSymbolNext(DataRefImpl &Symb) const override { ++Symb.p; } in moveSymbolNext()
39 Error printSymbolName(raw_ostream &OS, DataRefImpl Symb) const override { in printSymbolName()
46 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override { in getSymbolFlags()
51 return BasicSymbolRef(DataRefImpl(), this); in symbol_begin()
55 DataRefImpl Symb; in symbol_end()
H A DTapiFile.h32 void moveSymbolNext(DataRefImpl &DRI) const override;
34 Error printSymbolName(raw_ostream &OS, DataRefImpl DRI) const override;
36 Expected<uint32_t> getSymbolFlags(DataRefImpl DRI) const override;
H A DIRObjectFile.h39 void moveSymbolNext(DataRefImpl &Symb) const override;
40 Error printSymbolName(raw_ostream &OS, DataRefImpl Symb) const override;
41 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DXCOFFObjectFile.cpp114 XCOFFObjectFile::toSection32(DataRefImpl Ref) const { in toSection32()
123 XCOFFObjectFile::toSection64(DataRefImpl Ref) const { in toSection64()
335 DataRefImpl Ret; in section_rel_begin()
347 DataRefImpl Ret; in section_rel_end()
384 DataRefImpl SymDRI; in getRelocationSymbol()
411 DataRefImpl SymDRI; in symbol_begin()
417 DataRefImpl SymDRI; in symbol_end()
424 DataRefImpl DRI; in section_begin()
430 DataRefImpl DRI; in section_end()
499 DataRefImpl DRI; in getSectionByNum()
[all …]
H A DObjectFile.cpp57 Expected<uint64_t> ObjectFile::getSymbolValue(DataRefImpl Ref) const { in getSymbolValue()
69 Error ObjectFile::printSymbolName(raw_ostream &OS, DataRefImpl Symb) const { in printSymbolName()
77 uint32_t ObjectFile::getSymbolAlignment(DataRefImpl DRI) const { return 0; } in getSymbolAlignment()
79 bool ObjectFile::isSectionBitcode(DataRefImpl Sec) const { in isSectionBitcode()
87 bool ObjectFile::isSectionStripped(DataRefImpl Sec) const { return false; } in isSectionStripped()
89 bool ObjectFile::isBerkeleyText(DataRefImpl Sec) const { in isBerkeleyText()
93 bool ObjectFile::isBerkeleyData(DataRefImpl Sec) const { in isBerkeleyData()
97 bool ObjectFile::isDebugSection(DataRefImpl Sec) const { return false; } in isDebugSection()
100 ObjectFile::getRelocatedSection(DataRefImpl Sec) const { in getRelocatedSection()
H A DTapiFile.cpp73 void TapiFile::moveSymbolNext(DataRefImpl &DRI) const { DRI.d.a++; } in moveSymbolNext()
75 Error TapiFile::printSymbolName(raw_ostream &OS, DataRefImpl DRI) const { in printSymbolName()
82 Expected<uint32_t> TapiFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags()
88 DataRefImpl DRI; in symbol_begin()
94 DataRefImpl DRI; in symbol_end()
H A DIRObjectFile.cpp37 static ModuleSymbolTable::Symbol getSym(DataRefImpl &Symb) { in getSym()
41 void IRObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
45 Error IRObjectFile::printSymbolName(raw_ostream &OS, DataRefImpl Symb) const { in printSymbolName()
50 Expected<uint32_t> IRObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags()
55 DataRefImpl Ret; in symbol_begin()
61 DataRefImpl Ret; in symbol_end()
H A DCOFFObjectFile.cpp247 COFFObjectFile::getSymbolSection(DataRefImpl Ref) const { in getSymbolSection()
254 DataRefImpl Ret; in getSymbolSection()
294 COFFObjectFile::getSectionContents(DataRefImpl Ref) const { in getSectionContents()
321 bool COFFObjectFile::isSectionBSS(DataRefImpl Ref) const { in isSectionBSS()
401 DataRefImpl Ret; in section_rel_begin()
411 DataRefImpl Ret; in section_rel_end()
870 DataRefImpl Ret; in symbol_begin()
877 DataRefImpl Ret; in symbol_end()
923 DataRefImpl Ret; in section_begin()
929 DataRefImpl Ret; in section_end()
[all …]
H A DWasmObjectFile.cpp1481 DataRefImpl Ref; in symbol_begin()
1488 DataRefImpl Ref; in symbol_end()
1556 WasmObjectFile::getSymbolType(DataRefImpl Symb) const { in getSymbolType()
1579 WasmObjectFile::getSymbolSection(DataRefImpl Symb) const { in getSymbolSection()
1584 DataRefImpl Ref; in getSymbolSection()
1682 DataRefImpl RelocRef; in section_rel_begin()
1690 DataRefImpl RelocRef; in section_rel_end()
1707 DataRefImpl Sym; in getRelocationSymbol()
1738 DataRefImpl Ref; in section_begin()
1744 DataRefImpl Ref; in section_end()
[all …]
H A DMachOObjectFile.cpp1893 DataRefImpl DRI; in getSymbolSection()
1996 DataRefImpl DRI; in getSection()
2076 DataRefImpl Ret; in section_rel_begin()
2093 DataRefImpl Ret; in section_rel_end()
2100 DataRefImpl Ret; in extrel_begin()
2109 DataRefImpl Ret; in extrel_end()
2117 DataRefImpl Ret; in locrel_begin()
2126 DataRefImpl Ret; in locrel_end()
2161 DataRefImpl Sym; in getRelocationSymbol()
2493 DataRefImpl Sec; in getRelocationRelocatedSection()
[all …]
H A DELFObjectFile.cpp576 std::vector<std::pair<Optional<DataRefImpl>, uint64_t>>
635 std::vector<std::pair<Optional<DataRefImpl>, uint64_t>> Result; in getPltAddresses()
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DDWARF.cpp129 DataRefImpl d; in findAux()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp329 DataRefImpl Sec, in getSection()
390 DataRefImpl DRI, in getSymbol()
464 DataRefImpl DR = Section.getRawDataRefImpl(); in printSectionHeaders()
545 DataRefImpl DR = Reloc.getRawDataRefImpl(); in printRelocation()
H A DXCOFFDumper.cpp320 DataRefImpl SymbolDRI = S.getRawDataRefImpl(); in printSymbol()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp457 DataRefImpl RelNext = Rel; in getMachORelocationValueString()
1006 DataRefImpl DRI; in PrintRelocations()
1026 DataRefImpl DRI; in PrintRelocations()
1451 DataRefImpl Rel; in DumpLiteralPointerSection()
1601 DataRefImpl Rel; in DumpInitTermPointerSection()
2620 DataRefImpl Rel; in SymbolizerGetOpInfo()
2694 DataRefImpl Rel; in SymbolizerGetOpInfo()
2732 DataRefImpl Rel; in SymbolizerGetOpInfo()
2797 DataRefImpl Rel; in SymbolizerGetOpInfo()
3324 DataRefImpl Rel; in get_symbol_64()
[all …]
H A Dllvm-objdump.cpp403 DataRefImpl Rel = RelRef.getRawDataRefImpl(); in getHidden()
415 DataRefImpl RelPrev = Rel; in getHidden()
954 DataRefImpl SymbolDRI = Symbol.getRawDataRefImpl(); in createSymbolInfo()
1072 DataRefImpl DR = Section.getRawDataRefImpl(); in getSegmentName()
1148 DataRefImpl SymDRI = Symbol.getRawDataRefImpl(); in disassembleObject()
1966 DataRefImpl SymDRI = Symbol.getRawDataRefImpl(); in printSymbol()
H A DELFDump.cpp60 DataRefImpl Rel = RelRef.getRawDataRefImpl(); in getRelocationValueString()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp305 DataRefImpl SymDRI = S.Sym.getRawDataRefImpl(); in darwinPrintSymbol()
435 DataRefImpl Ref = Sec->getRawDataRefImpl(); in darwinPrintSymbol()
582 DataRefImpl SymDRI = S.Sym.getRawDataRefImpl(); in darwinPrintStab()
919 DataRefImpl Symb = I->getRawDataRefImpl(); in getSymbolNMTypeChar()
940 DataRefImpl Ref = Sec->getRawDataRefImpl(); in getSymbolNMTypeChar()
1084 DataRefImpl Ref = S.getRawDataRefImpl(); in getNsectForSegSect()
1102 DataRefImpl Symb = Sym.getRawDataRefImpl(); in getNsectInMachO()

12