Home
last modified time | relevance | path

Searched refs:DRI (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DTapiFile.cpp87 void TapiFile::moveSymbolNext(DataRefImpl &DRI) const { DRI.d.a++; } in moveSymbolNext()
89 Error TapiFile::printSymbolName(raw_ostream &OS, DataRefImpl DRI) const { in printSymbolName()
90 assert(DRI.d.a < Symbols.size() && "Attempt to access symbol out of bounds"); in printSymbolName()
91 const Symbol &Sym = Symbols[DRI.d.a]; in printSymbolName()
96 Expected<SymbolRef::Type> TapiFile::getSymbolType(DataRefImpl DRI) const { in getSymbolType()
97 assert(DRI.d.a < Symbols.size() && "Attempt to access symbol out of bounds"); in getSymbolType()
98 return Symbols[DRI.d.a].Type; in getSymbolType()
101 Expected<uint32_t> TapiFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags()
102 assert(DRI.d.a < Symbols.size() && "Attempt to access symbol out of bounds"); in getSymbolFlags()
103 return Symbols[DRI.d.a].Flags; in getSymbolFlags()
[all …]
H A DXCOFFObjectFile.cpp450 DataRefImpl DRI = getSectionByType(SectType); in getSectionFileOffsetToRawData() local
452 if (DRI.p == 0) // No section is not an error. in getSectionFileOffsetToRawData()
455 uint64_t SectionOffset = getSectionFileOffsetToRawData(DRI); in getSectionFileOffsetToRawData()
456 uint64_t SizeOfSection = getSectionSize(DRI); in getSectionFileOffsetToRawData()
712 DataRefImpl DRI; in section_begin() local
713 DRI.p = getSectionHeaderTableAddress(); in section_begin()
714 return section_iterator(SectionRef(DRI, this)); in section_begin()
718 DataRefImpl DRI; in section_end() local
719 DRI.p = getWithOffset(getSectionHeaderTableAddress(), in section_end()
721 return section_iterator(SectionRef(DRI, this)); in section_end()
[all …]
H A DMachOObjectFile.cpp119 getSymbolTableEntryBase(const MachOObjectFile &O, DataRefImpl DRI) { in getSymbolTableEntryBase() argument
120 const char *P = reinterpret_cast<const char *>(DRI.p); in getSymbolTableEntryBase()
1791 DataRefImpl DRI = Sec.getRawDataRefImpl(); in getSectionType() local
1792 uint32_t Flags = getSectionFlags(*this, DRI); in getSectionType()
1829 uint32_t MachOObjectFile::getSymbolAlignment(DataRefImpl DRI) const { in getSymbolAlignment()
1830 uint32_t Flags = cantFail(getSymbolFlags(DRI)); in getSymbolAlignment()
1832 MachO::nlist_base Entry = getSymbolTableEntryBase(*this, DRI); in getSymbolAlignment()
1838 uint64_t MachOObjectFile::getCommonSymbolSizeImpl(DataRefImpl DRI) const { in getCommonSymbolSizeImpl()
1839 return getNValue(DRI); in getCommonSymbolSizeImpl()
1868 Expected<uint32_t> MachOObjectFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags()
[all …]
H A DObjectFile.cpp77 uint32_t ObjectFile::getSymbolAlignment(DataRefImpl DRI) const { return 0; } in getSymbolAlignment()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DTapiFile.h38 void moveSymbolNext(DataRefImpl &DRI) const override;
40 Error printSymbolName(raw_ostream &OS, DataRefImpl DRI) const override;
42 Expected<uint32_t> getSymbolFlags(DataRefImpl DRI) const override;
48 Expected<SymbolRef::Type> getSymbolType(DataRefImpl DRI) const;
H A DELFObjectFile.h357 DataRefImpl DRI; in toDRI() local
359 DRI.d.a = 0; in toDRI()
360 DRI.d.b = 0; in toDRI()
361 return DRI; in toDRI()
368 DRI.d.a = 0; in toDRI()
369 DRI.d.b = 0; in toDRI()
370 return DRI; in toDRI()
376 DRI.d.a = SymTableIndex; in toDRI()
377 DRI.d.b = SymbolNum; in toDRI()
378 return DRI; in toDRI()
[all …]
H A DMachO.h652 MachO::section getSection(DataRefImpl DRI) const;
653 MachO::section_64 getSection64(DataRefImpl DRI) const;
656 MachO::nlist getSymbolTableEntry(DataRefImpl DRI) const;
657 MachO::nlist_64 getSymbol64TableEntry(DataRefImpl DRI) const;
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DXCOFFLinkGraphBuilder.cpp204 object::DataRefImpl DRI; in getXCOFFSymbolContainingSymbolRef() local
205 DRI.p = Obj.getSymbolByIndex(Idx); in getXCOFFSymbolContainingSymbolRef()
206 return object::XCOFFSymbolRef(DRI, &Obj); in getXCOFFSymbolContainingSymbolRef()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DXCOFFDump.cpp409 DataRefImpl DRI; in getXCOFFSymbolContainingSymbolRef() local
410 DRI.p = Obj.getSymbolByIndex(Idx); in getXCOFFSymbolContainingSymbolRef()
411 return SymbolRef(DRI, &Obj); in getXCOFFSymbolContainingSymbolRef()
H A DMachODump.cpp939 object::DataRefImpl DRI; in PrintRelocationEntries() local
940 DRI.d.a = r_symbolnum-1; in PrintRelocationEntries()
941 StringRef SegName = O->getSectionFinalSegmentName(DRI); in PrintRelocationEntries()
942 if (Expected<StringRef> NameOrErr = O->getSectionName(DRI)) in PrintRelocationEntries()
995 DataRefImpl DRI; in PrintRelocations() local
996 DRI.d.a = J; in PrintRelocations()
997 const StringRef SegName = O->getSectionFinalSegmentName(DRI); in PrintRelocations()
998 if (Expected<StringRef> NameOrErr = O->getSectionName(DRI)) in PrintRelocations()
1006 PrintRelocationEntries(O, O->section_rel_begin(DRI), in PrintRelocations()
1007 O->section_rel_end(DRI), cputype, verbose); in PrintRelocations()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp403 DataRefImpl DRI, in getSymbol() argument
406 MachO::nlist Entry = Obj->getSymbolTableEntry(DRI); in getSymbol()
414 MachO::nlist_64 Entry = Obj->getSymbol64TableEntry(DRI); in getSymbol()
/freebsd/sys/amd64/conf/
H A DNOTES52 # the tdfx DRI module from XFree86 and is completely unrelated.
/freebsd/sys/i386/conf/
H A DNOTES214 # the tdfx DRI module from XFree86 and is completely unrelated.