Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DGOFFObjectFile.h37 typedef DataRefImpl SectionEntryImpl;
61 void moveSymbolNext(DataRefImpl &Symb) const override;
73 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override;
79 const uint8_t *getSymbolEsdRecord(DataRefImpl Symb) const;
80 bool isSymbolUnresolved(DataRefImpl Symb) const;
81 bool isSymbolIndirect(DataRefImpl Symb) const;
84 void moveSectionNext(DataRefImpl &Sec) const override {} in moveSectionNext()
91 getSectionContents(DataRefImpl Sec) const override { in getSectionContents()
114 void moveRelocationNext(DataRefImpl &Rel) const override {} in moveRelocationNext()
117 DataRefImpl Temp; in getRelocationSymbol()
[all …]
H A DObjectFile.h53 DataRefImpl RelocationPimpl;
73 DataRefImpl getRawDataRefImpl() const;
84 DataRefImpl SectionPimpl;
141 DataRefImpl getRawDataRefImpl() const;
258 getSymbolSection(DataRefImpl Symb) const = 0;
269 getSectionContents(DataRefImpl Sec) const = 0;
279 virtual bool isBerkeleyText(DataRefImpl Sec) const;
280 virtual bool isBerkeleyData(DataRefImpl Sec) const;
281 virtual bool isDebugSection(DataRefImpl Sec) const;
493 inline SectionRef::SectionRef(DataRefImpl SectionP, in SectionRef()
[all …]
H A DSymbolicFile.h35 union DataRefImpl { union
43 DataRefImpl() { std::memset(this, 0, sizeof(DataRefImpl)); } in DataRefImpl() function
47 OStream& operator<<(OStream &OS, const DataRefImpl &D) {
53 inline bool operator==(const DataRefImpl &a, const DataRefImpl &b) {
56 return std::memcmp(&a, &b, sizeof(DataRefImpl)) == 0;
59 inline bool operator!=(const DataRefImpl &a, const DataRefImpl &b) {
63 inline bool operator<(const DataRefImpl &a, const DataRefImpl &b) {
66 return std::memcmp(&a, &b, sizeof(DataRefImpl)) < 0;
104 DataRefImpl SymbolPimpl;
139 DataRefImpl getRawDataRefImpl() const;
[all …]
H A DELFObjectFile.h52 std::optional<DataRefImpl> Symbol;
326 void getRelocationTypeName(DataRefImpl Rel,
335 DataRefImpl DRI; in toDRI()
364 DataRefImpl DRI; in toDRI()
369 DataRefImpl toDRI(const Elf_Dyn *Dyn) const { in toDRI()
370 DataRefImpl DRI; in toDRI()
422 const Elf_Rel *getRel(DataRefImpl Rel) const;
833 DataRefImpl Sec; in getSymbolSection()
990 DataRefImpl RelData; in section_rel_begin()
1053 DataRefImpl SymbolData; in getRelocationSymbol()
[all …]
H A DWasm.h159 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 DMachO.h45 DataRefImpl DicePimpl;
50 DiceRef(DataRefImpl DiceP, const ObjectFile *Owner);
61 DataRefImpl getRawDataRefImpl() const;
424 uint64_t getNValue(DataRefImpl Sym) const;
449 getSectionContents(DataRefImpl Sec) const override;
454 bool isSectionText(DataRefImpl Sec) const override;
455 bool isSectionData(DataRefImpl Sec) const override;
456 bool isSectionBSS(DataRefImpl Sec) const override;
491 void getRelocationTypeName(DataRefImpl Rel,
511 uint64_t getSymbolIndex(DataRefImpl Symb) const;
[all …]
H A DXCOFFObjectFile.h578 void moveSymbolNext(DataRefImpl &Symb) const override;
601 getSectionContents(DataRefImpl Sec) const override;
604 bool isSectionText(DataRefImpl Sec) const override;
605 bool isSectionData(DataRefImpl Sec) const override;
606 bool isSectionBSS(DataRefImpl Sec) const override;
607 bool isDebugSection(DataRefImpl Sec) const override;
621 void getRelocationTypeName(DataRefImpl Rel,
646 XCOFFSymbolRef toSymbolRef(DataRefImpl Ref) const;
674 uint64_t getSymbolSize(DataRefImpl Symb) const;
690 int32_t getSectionFlags(DataRefImpl Sec) const;
[all …]
H A DTapiFile.h37 void moveSymbolNext(DataRefImpl &DRI) const override;
39 Error printSymbolName(raw_ostream &OS, DataRefImpl DRI) const override;
41 Expected<uint32_t> getSymbolFlags(DataRefImpl DRI) const override;
47 Expected<SymbolRef::Type> getSymbolType(DataRefImpl DRI) const;
H A DCOFF.h869 const coff_section *toSec(DataRefImpl Sec) const;
870 const coff_relocation *toRel(DataRefImpl Rel) const;
993 void moveSymbolNext(DataRefImpl &Symb) const override;
1002 void moveSectionNext(DataRefImpl &Sec) const override;
1008 getSectionContents(DataRefImpl Sec) const override;
1011 bool isSectionText(DataRefImpl Sec) const override;
1012 bool isSectionData(DataRefImpl Sec) const override;
1013 bool isSectionBSS(DataRefImpl Sec) const override;
1014 bool isSectionVirtual(DataRefImpl Sec) const override;
1015 bool isDebugSection(DataRefImpl Sec) const override;
[all …]
H A DCOFFImportFile.h45 void moveSymbolNext(DataRefImpl &Symb) const override { ++Symb.p; } in moveSymbolNext()
47 Error printSymbolName(raw_ostream &OS, DataRefImpl Symb) const override { in printSymbolName()
68 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override { in getSymbolFlags()
73 return BasicSymbolRef(DataRefImpl(), this); in symbol_begin()
77 DataRefImpl Symb; in symbol_end()
H A DIRObjectFile.h35 void moveSymbolNext(DataRefImpl &Symb) const override;
36 Error printSymbolName(raw_ostream &OS, DataRefImpl Symb) const override;
37 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Object/
H A DXCOFFObjectFile.cpp513 DataRefImpl Ret; in section_rel_begin()
539 DataRefImpl Ret; in section_rel_end()
619 DataRefImpl SymDRI; in getRelocationSymbol()
684 DataRefImpl SymDRI; in symbol_begin()
690 DataRefImpl SymDRI; in symbol_end()
701 DataRefImpl DRI; in section_begin()
707 DataRefImpl DRI; in section_end()
791 DataRefImpl DRI; in getSectionByNum()
797 DataRefImpl
799 DataRefImpl DRI; in getSectionByType()
[all …]
H A DGOFFObjectFile.cpp249 bool GOFFObjectFile::isSymbolIndirect(DataRefImpl Symb) const { in isSymbolIndirect()
286 GOFFObjectFile::getSymbolType(DataRefImpl Symb) const { in getSymbolType()
335 GOFFObjectFile::getSymbolSection(DataRefImpl Symb) const { in getSymbolSection()
336 DataRefImpl Sec; in getSymbolSection()
383 DataRefImpl Sec; in getSectionEdEsdRecord()
391 DataRefImpl Sec; in getSectionPrEsdRecord()
398 DataRefImpl Sec; in section_begin()
404 DataRefImpl Sec; in section_end()
408 void GOFFObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
429 DataRefImpl Symb; in symbol_begin()
[all …]
H A DObjectFile.cpp56 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()
105 ObjectFile::getRelocatedSection(DataRefImpl Sec) const { in getRelocatedSection()
H A DTapiFile.cpp88 void TapiFile::moveSymbolNext(DataRefImpl &DRI) const { DRI.d.a++; } in moveSymbolNext()
90 Error TapiFile::printSymbolName(raw_ostream &OS, DataRefImpl DRI) const { in printSymbolName()
97 Expected<SymbolRef::Type> TapiFile::getSymbolType(DataRefImpl DRI) const { in getSymbolType()
102 Expected<uint32_t> TapiFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags()
108 DataRefImpl DRI; in symbol_begin()
114 DataRefImpl DRI; in symbol_end()
H A DIRObjectFile.cpp36 static ModuleSymbolTable::Symbol getSym(DataRefImpl &Symb) { in getSym()
40 void IRObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
44 Error IRObjectFile::printSymbolName(raw_ostream &OS, DataRefImpl Symb) const { in printSymbolName()
49 Expected<uint32_t> IRObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags()
54 DataRefImpl Ret; in symbol_begin()
60 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()
977 DataRefImpl Ret; in symbol_begin()
984 DataRefImpl Ret; in symbol_end()
1030 DataRefImpl Ret; in section_begin()
1036 DataRefImpl Ret; in section_end()
[all …]
H A DWasmObjectFile.cpp1644 DataRefImpl Ref; in symbol_begin()
1651 DataRefImpl Ref; in symbol_end()
1731 WasmObjectFile::getSymbolType(DataRefImpl Symb) const { in getSymbolType()
1754 WasmObjectFile::getSymbolSection(DataRefImpl Symb) const { in getSymbolSection()
1759 DataRefImpl Ref; in getSymbolSection()
1839 DataRefImpl RelocRef; in section_rel_begin()
1847 DataRefImpl RelocRef; in section_rel_end()
1864 DataRefImpl Sym; in getRelocationSymbol()
1895 DataRefImpl Ref; in section_begin()
1901 DataRefImpl Ref; in section_end()
[all …]
H A DMachOObjectFile.cpp1917 DataRefImpl DRI; in getSymbolSection()
2020 DataRefImpl DRI; in getSection()
2175 DataRefImpl Ret; in section_rel_begin()
2192 DataRefImpl Ret; in section_rel_end()
2199 DataRefImpl Ret; in extrel_begin()
2208 DataRefImpl Ret; in extrel_end()
2216 DataRefImpl Ret; in locrel_begin()
2225 DataRefImpl Ret; in locrel_end()
2260 DataRefImpl Sym; in getRelocationSymbol()
2592 DataRefImpl Sec; in getRelocationRelocatedSection()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/XCOFF/
H A DXCOFFReader.cpp23 DataRefImpl SectionDRI; in readSections()
55 DataRefImpl SymbolDRI = Sym.getRawDataRefImpl(); in readSymbols()
/freebsd-14.2/contrib/llvm-project/lld/ELF/
H A DDWARF.cpp127 DataRefImpl d; in findAux()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp450 DataRefImpl RelNext = Rel; in getMachORelocationValueString()
999 DataRefImpl DRI; in PrintRelocations()
1019 DataRefImpl DRI; in PrintRelocations()
1676 DataRefImpl Rel; in DumpLiteralPointerSection()
1826 DataRefImpl Rel; in DumpInitTermPointerSection()
2839 DataRefImpl Rel; in SymbolizerGetOpInfo()
2913 DataRefImpl Rel; in SymbolizerGetOpInfo()
2951 DataRefImpl Rel; in SymbolizerGetOpInfo()
3016 DataRefImpl Rel; in SymbolizerGetOpInfo()
3543 DataRefImpl Rel; in get_symbol_64()
[all …]
H A DXCOFFDump.cpp94 DataRefImpl DRI; in getXCOFFSymbolContainingSymbolRef()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp342 DataRefImpl Sec, in getSection()
403 DataRefImpl DRI, in getSymbol()
477 DataRefImpl DR = Section.getRawDataRefImpl(); in printSectionHeaders()
557 DataRefImpl DR = Reloc.getRawDataRefImpl(); in printRelocation()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp336 DataRefImpl SymDRI = S.Sym.getRawDataRefImpl(); in darwinPrintSymbol()
466 DataRefImpl Ref = Sec->getRawDataRefImpl(); in darwinPrintSymbol()
596 DataRefImpl SymDRI = S.Sym.getRawDataRefImpl(); in darwinPrintStab()
1015 DataRefImpl Symb = I->getRawDataRefImpl(); in getSymbolNMTypeChar()
1036 DataRefImpl Ref = Sec->getRawDataRefImpl(); in getSymbolNMTypeChar()
1192 DataRefImpl Ref = S.getRawDataRefImpl(); in getNsectForSegSect()
1210 DataRefImpl Symb = Sym.getRawDataRefImpl(); in getNsectInMachO()

12