LLVM: llvm::object::GOFFObjectFile Class Reference (original) (raw)
#include "[llvm/Object/GOFFObjectFile.h](GOFFObjectFile%5F8h%5Fsource.html)"
| Static Public Member Functions |
|
| static bool |
classof (const Binary *V) |
| Static Public Member Functions inherited from llvm::object::ObjectFile |
|
| static Expected< OwningBinary< ObjectFile > > |
createObjectFile (StringRef ObjectPath) |
| static Expected< std::unique_ptr< ObjectFile > > |
createObjectFile (MemoryBufferRef Object, llvm::file_magic Type, bool InitContent=true) |
| static Expected< std::unique_ptr< ObjectFile > > |
createObjectFile (MemoryBufferRef Object) |
| static bool |
classof (const Binary *v) |
| static Expected< std::unique_ptr< COFFObjectFile > > |
createCOFFObjectFile (MemoryBufferRef Object) |
| static Expected< std::unique_ptr< ObjectFile > > |
createXCOFFObjectFile (MemoryBufferRef Object, unsigned FileType) |
| static Expected< std::unique_ptr< ObjectFile > > |
createELFObjectFile (MemoryBufferRef Object, bool InitContent=true) |
| static Expected< std::unique_ptr< MachOObjectFile > > |
createMachOObjectFile (MemoryBufferRef Object, uint32_t UniversalCputype=0, uint32_t UniversalIndex=0, size_t MachOFilesetEntryOffset=0) |
|
Create a MachOObjectFile instance from a given buffer. |
| static Expected< std::unique_ptr< ObjectFile > > |
createGOFFObjectFile (MemoryBufferRef Object) |
| static Expected< std::unique_ptr< WasmObjectFile > > |
createWasmObjectFile (MemoryBufferRef Object) |
| static Expected< std::unique_ptr< DXContainerObjectFile > > |
createDXContainerObjectFile (MemoryBufferRef Object) |
| Static Public Member Functions inherited from llvm::object::SymbolicFile |
|
| static Expected< std::unique_ptr< SymbolicFile > > |
createSymbolicFile (MemoryBufferRef Object, llvm::file_magic Type, LLVMContext *Context, bool InitContent=true) |
| static Expected< std::unique_ptr< SymbolicFile > > |
createSymbolicFile (MemoryBufferRef Object) |
| static bool |
classof (const Binary *v) |
| static bool |
isSymbolicFile (file_magic Type, const LLVMContext *Context) |
| Static Public Member Functions inherited from llvm::object::Binary |
|
| static Error |
checkOffset (MemoryBufferRef M, uintptr_t Addr, const uint64_t Size) |
| Additional Inherited Members |
|
| Public Types inherited from llvm::object::ObjectFile |
|
| using |
symbol_iterator_range = iterator_range<symbol_iterator> |
| using |
section_iterator_range = iterator_range<section_iterator> |
| Public Types inherited from llvm::object::SymbolicFile |
|
| using |
basic_symbol_iterator_range = iterator_range<basic_symbol_iterator> |
| Protected Types inherited from llvm::object::Binary |
|
| enum |
{ ID_Archive, ID_MachOUniversalBinary, ID_COFFImportFile, ID_IR, ID_TapiUniversal, ID_TapiFile, ID_Minidump, ID_WinRes, ID_Offload, ID_StartObjects, ID_COFF, ID_XCOFF32, ID_XCOFF64, ID_ELF32L, ID_ELF32B, ID_ELF64L, ID_ELF64B, ID_MachO32L, ID_MachO32B, ID_MachO64L, ID_MachO64B, ID_GOFF, ID_Wasm, ID_DXContainer, ID_EndObjects } |
| Protected Member Functions inherited from llvm::object::ObjectFile |
|
|
ObjectFile (unsigned int Type, MemoryBufferRef Source) |
| const uint8_t * |
base () const |
| Error |
printSymbolName (raw_ostream &OS, DataRefImpl Symb) const override |
| virtual uint32_t |
getSymbolAlignment (DataRefImpl Symb) const |
| virtual bool |
isSectionBitcode (DataRefImpl Sec) const |
| virtual bool |
isSectionStripped (DataRefImpl Sec) const |
| virtual bool |
isBerkeleyText (DataRefImpl Sec) const |
| virtual bool |
isBerkeleyData (DataRefImpl Sec) const |
| virtual bool |
isDebugSection (DataRefImpl Sec) const |
| virtual Expected< section_iterator > |
getRelocatedSection (DataRefImpl Sec) const |
| virtual llvm::binaryformat::Swift5ReflectionSectionKind |
mapReflectionSectionNameToEnumValue (StringRef SectionName) const |
| Expected< uint64_t > |
getSymbolValue (DataRefImpl Symb) const |
| Protected Member Functions inherited from llvm::object::Binary |
|
|
Binary (unsigned int Type, MemoryBufferRef Source) |
| Static Protected Member Functions inherited from llvm::object::Binary |
|
| static unsigned int |
getELFType (bool isLE, bool is64Bits) |
| static unsigned int |
getMachOType (bool isLE, bool is64Bits) |
| Protected Attributes inherited from llvm::object::Binary |
|
| MemoryBufferRef |
Data |
Definition at line 32 of file GOFFObjectFile.h.
Definition at line 36 of file GOFFObjectFile.cpp.
References llvm::object::ObjectFile::base(), llvm::createStringError(), llvm::object::Binary::Data, llvm::dbgs(), llvm::GOFF::ESD_ST_ElementDefinition, llvm::GOFF::ESD_ST_LabelDefinition, llvm::GOFF::ESD_ST_PartReference, llvm::format(), llvm::object::ESDRecord::getEsdId(), llvm::object::ESDRecord::getLength(), llvm::object::ESDRecord::getParentEsdId(), llvm::object::ESDRecord::getSymbolType(), I, llvm::object::Binary::ID_GOFF, llvm::Length, LLVM_DEBUG, llvm_unreachable, llvm::object::ObjectFile::ObjectFile(), P, llvm::object::parse_failed, llvm::GOFF::RecordLength, llvm::GOFF::RT_END, llvm::GOFF::RT_ESD, llvm::GOFF::RT_HDR, llvm::GOFF::RT_TXT, and llvm::object::unexpected_eof.
Referenced by GOFFSymbolRef.
◆ classof()
| bool llvm::object::GOFFObjectFile::classof ( const Binary * V) |
inlinestatic |
◆ getArch()
| Triple::ArchType llvm::object::GOFFObjectFile::getArch ( ) const |
inlineoverridevirtual |
◆ getBytesInAddress()
| uint8_t llvm::object::GOFFObjectFile::getBytesInAddress ( ) const |
inlineoverridevirtual |
◆ getFeatures()
| StringRef llvm::object::GOFFObjectFile::getFileFormatName ( ) const |
inlineoverridevirtual |
◆ getSymbolName()
◆ is64Bit()
| bool llvm::object::GOFFObjectFile::is64Bit ( ) const |
inlineoverridevirtual |
◆ isRelocatableObject()
| bool llvm::object::GOFFObjectFile::isRelocatableObject ( ) const |
inlineoverridevirtual |
◆ isSectionNoLoad()
◆ isSectionReadOnlyData()
◆ isSectionZeroInit()
◆ moveSymbolNext()
| void GOFFObjectFile::moveSymbolNext ( DataRefImpl & Symb) const |
overridevirtual |
◆ section_begin()
◆ section_end()
◆ symbol_begin()
◆ symbol_end()
◆ GOFFSymbolRef
The documentation for this class was generated from the following files: