Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/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;
433 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.h315 void getRelocationTypeName(DataRefImpl Rel,
324 DataRefImpl DRI; in toDRI()
352 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI()
353 DataRefImpl DRI; in toDRI()
358 DataRefImpl toDRI(const Elf_Dyn *Dyn) const { in toDRI()
359 DataRefImpl DRI; in toDRI()
411 const Elf_Rel *getRel(DataRefImpl Rel) const;
804 DataRefImpl Sec; in getSymbolSection()
962 DataRefImpl RelData; in section_rel_begin()
1025 DataRefImpl SymbolData; in getRelocationSymbol()
[all …]
H A DWasm.h158 void moveSymbolNext(DataRefImpl &Symb) const override;
177 void moveSectionNext(DataRefImpl &Sec) const override;
180 uint64_t getSectionIndex(DataRefImpl Sec) const override;
181 uint64_t getSectionSize(DataRefImpl Sec) const override;
183 getSectionContents(DataRefImpl Sec) const override;
185 bool isSectionCompressed(DataRefImpl Sec) const override;
186 bool isSectionText(DataRefImpl Sec) const override;
187 bool isSectionData(DataRefImpl Sec) const override;
188 bool isSectionBSS(DataRefImpl Sec) const override;
189 bool isSectionVirtual(DataRefImpl Sec) const override;
[all …]
H A DMachO.h45 DataRefImpl DicePimpl;
50 DiceRef(DataRefImpl DiceP, const ObjectFile *Owner);
61 DataRefImpl getRawDataRefImpl() const;
398 uint64_t getNValue(DataRefImpl Sym) const;
423 getSectionContents(DataRefImpl Sec) const override;
428 bool isSectionText(DataRefImpl Sec) const override;
429 bool isSectionData(DataRefImpl Sec) const override;
430 bool isSectionBSS(DataRefImpl Sec) const override;
464 void getRelocationTypeName(DataRefImpl Rel,
482 uint64_t getSymbolIndex(DataRefImpl Symb) const;
[all …]
H A DXCOFFObjectFile.h497 void moveSymbolNext(DataRefImpl &Symb) const override;
516 getSectionContents(DataRefImpl Sec) const override;
519 bool isSectionText(DataRefImpl Sec) const override;
520 bool isSectionData(DataRefImpl Sec) const override;
521 bool isSectionBSS(DataRefImpl Sec) const override;
522 bool isDebugSection(DataRefImpl Sec) const override;
536 void getRelocationTypeName(DataRefImpl Rel,
561 XCOFFSymbolRef toSymbolRef(DataRefImpl Ref) const;
589 uint64_t getSymbolSize(DataRefImpl Symb) const;
605 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.h36 void moveSymbolNext(DataRefImpl &Symb) const override { ++Symb.p; } in moveSymbolNext()
38 Error printSymbolName(raw_ostream &OS, DataRefImpl Symb) const override { in printSymbolName()
45 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override { in getSymbolFlags()
50 return BasicSymbolRef(DataRefImpl(), this); in symbol_begin()
54 DataRefImpl Symb; in symbol_end()
H A DTapiFile.h41 void moveSymbolNext(DataRefImpl &DRI) const override;
43 Error printSymbolName(raw_ostream &OS, DataRefImpl DRI) const override;
45 Expected<uint32_t> getSymbolFlags(DataRefImpl DRI) const override;
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;
/llvm-project-15.0.7/llvm/lib/Object/
H A DXCOFFObjectFile.cpp281 Expected<DataRefImpl> SecDRIOrErr = in getSymbolType()
287 DataRefImpl SecDRI = SecDRIOrErr.get(); in getSymbolType()
461 DataRefImpl Ret; in section_rel_begin()
487 DataRefImpl Ret; in section_rel_end()
567 DataRefImpl SymDRI; in getRelocationSymbol()
632 DataRefImpl SymDRI; in symbol_begin()
638 DataRefImpl SymDRI; in symbol_end()
645 DataRefImpl DRI; in section_begin()
651 DataRefImpl DRI; in section_end()
735 DataRefImpl DRI; in getSectionByNum()
[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()
100 ObjectFile::getRelocatedSection(DataRefImpl Sec) const { in getRelocatedSection()
H A DTapiFile.cpp76 void TapiFile::moveSymbolNext(DataRefImpl &DRI) const { DRI.d.a++; } in moveSymbolNext()
78 Error TapiFile::printSymbolName(raw_ostream &OS, DataRefImpl DRI) const { in printSymbolName()
85 Expected<uint32_t> TapiFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags()
91 DataRefImpl DRI; in symbol_begin()
97 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()
929 DataRefImpl Ret; in symbol_begin()
936 DataRefImpl Ret; in symbol_end()
982 DataRefImpl Ret; in section_begin()
988 DataRefImpl Ret; in section_end()
[all …]
H A DWasmObjectFile.cpp1582 DataRefImpl Ref; in symbol_begin()
1589 DataRefImpl Ref; in symbol_end()
1659 WasmObjectFile::getSymbolType(DataRefImpl Symb) const { in getSymbolType()
1682 WasmObjectFile::getSymbolSection(DataRefImpl Symb) const { in getSymbolSection()
1687 DataRefImpl Ref; in getSymbolSection()
1767 DataRefImpl RelocRef; in section_rel_begin()
1775 DataRefImpl RelocRef; in section_rel_end()
1792 DataRefImpl Sym; in getRelocationSymbol()
1823 DataRefImpl Ref; in section_begin()
1829 DataRefImpl Ref; in section_end()
[all …]
H A DMachOObjectFile.cpp1901 DataRefImpl DRI; in getSymbolSection()
2004 DataRefImpl DRI; in getSection()
2124 DataRefImpl Ret; in section_rel_begin()
2141 DataRefImpl Ret; in section_rel_end()
2148 DataRefImpl Ret; in extrel_begin()
2157 DataRefImpl Ret; in extrel_end()
2165 DataRefImpl Ret; in locrel_begin()
2174 DataRefImpl Ret; in locrel_end()
2209 DataRefImpl Sym; in getRelocationSymbol()
2541 DataRefImpl Sec; in getRelocationRelocatedSection()
[all …]
/llvm-project-15.0.7/llvm/lib/ObjCopy/XCOFF/
H A DXCOFFReader.cpp23 DataRefImpl SectionDRI; in readSections()
55 DataRefImpl SymbolDRI = Sym.getRawDataRefImpl(); in readSymbols()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Dxcoff2yaml.cpp81 DataRefImpl SectionDRI; in dumpSections()
113 DataRefImpl SymbolDRI = S.getRawDataRefImpl(); in dumpSymbols()
/llvm-project-15.0.7/llvm/unittests/Object/
H A DSymbolicFileTest.cpp18 llvm::object::DataRefImpl Data; in TEST()
H A DXCOFFObjectFileTest.cpp435 DataRefImpl Ref; in TEST()
491 DataRefImpl Ref; in TEST()
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A DXCOFFDump.cpp73 DataRefImpl DRI; in getXCOFFSymbolContainingSymbolRef()
H A DMachODump.cpp463 DataRefImpl RelNext = Rel; in getMachORelocationValueString()
1012 DataRefImpl DRI; in PrintRelocations()
1032 DataRefImpl DRI; in PrintRelocations()
1471 DataRefImpl Rel; in DumpLiteralPointerSection()
1621 DataRefImpl Rel; in DumpInitTermPointerSection()
2643 DataRefImpl Rel; in SymbolizerGetOpInfo()
2717 DataRefImpl Rel; in SymbolizerGetOpInfo()
2755 DataRefImpl Rel; in SymbolizerGetOpInfo()
2820 DataRefImpl Rel; in SymbolizerGetOpInfo()
3347 DataRefImpl Rel; in get_symbol_64()
[all …]
/llvm-project-15.0.7/lld/ELF/
H A DDWARF.cpp128 DataRefImpl d; in findAux()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DMachODumper.cpp343 DataRefImpl Sec, in getSection()
404 DataRefImpl DRI, in getSymbol()
478 DataRefImpl DR = Section.getRawDataRefImpl(); in printSectionHeaders()
559 DataRefImpl DR = Reloc.getRawDataRefImpl(); in printRelocation()

12