LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::object::COFFImportFile Class Reference

#include "llvm/Object/COFFImportFile.h"

Inheritance diagram for llvm::object::COFFImportFile:
Inheritance graph
[legend]

Public Member Functions

 COFFImportFile (MemoryBufferRef Source)
 
void moveSymbolNext (DataRefImpl &Symb) const override
 
Error printSymbolName (raw_ostream &OS, DataRefImpl Symb) const override
 
Expected< uint32_tgetSymbolFlags (DataRefImpl Symb) const override
 
basic_symbol_iterator symbol_begin () const override
 
basic_symbol_iterator symbol_end () const override
 
bool is64Bit () const override
 
const coff_import_headergetCOFFImportHeader () const
 
uint16_t getMachine () const
 
StringRef getFileFormatName () const
 
StringRef getExportName () const
 
- Public Member Functions inherited from llvm::object::SymbolicFile
 SymbolicFile (unsigned int Type, MemoryBufferRef Source)
 
 ~SymbolicFile () override
 
virtual void moveSymbolNext (DataRefImpl &Symb) const =0
 
virtual Error printSymbolName (raw_ostream &OS, DataRefImpl Symb) const =0
 
virtual Expected< uint32_tgetSymbolFlags (DataRefImpl Symb) const =0
 
virtual basic_symbol_iterator symbol_begin () const =0
 
virtual basic_symbol_iterator symbol_end () const =0
 
virtual bool is64Bit () const =0
 
basic_symbol_iterator_range symbols () const
 
- Public Member Functions inherited from llvm::object::Binary
 Binary ()=delete
 
 Binary (const Binary &other)=delete
 
virtual ~Binary ()
 
virtual Error initContent ()
 
StringRef getData () const
 
StringRef getFileName () const
 
MemoryBufferRef getMemoryBufferRef () const
 
unsigned int getType () const
 
bool isObject () const
 
bool isSymbolic () const
 
bool isArchive () const
 
bool isMachOUniversalBinary () const
 
bool isTapiUniversal () const
 
bool isELF () const
 
bool isMachO () const
 
bool isCOFF () const
 
bool isXCOFF () const
 
bool isWasm () const
 
bool isOffloadFile () const
 
bool isCOFFImportFile () const
 
bool isIR () const
 
bool isGOFF () const
 
bool isMinidump () const
 
bool isTapiFile () const
 
bool isLittleEndian () const
 
bool isWinRes () const
 
Triple::ObjectFormatType getTripleObjectFormat () const
 

Static Public Member Functions

static bool classof (Binary const *V)
 
- 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::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_EndObjects
}
 
- 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
 

Detailed Description

Definition at line 36 of file COFFImportFile.h.

Constructor & Destructor Documentation

◆ COFFImportFile()

llvm::object::COFFImportFile::COFFImportFile ( MemoryBufferRef  Source)
inline

Definition at line 41 of file COFFImportFile.h.

Member Function Documentation

◆ classof()

static bool llvm::object::COFFImportFile::classof ( Binary const V)
inlinestatic

Definition at line 44 of file COFFImportFile.h.

◆ getCOFFImportHeader()

const coff_import_header * llvm::object::COFFImportFile::getCOFFImportHeader ( ) const
inline

◆ getExportName()

StringRef llvm::object::COFFImportFile::getExportName ( ) const

◆ getFileFormatName()

StringRef llvm::object::COFFImportFile::getFileFormatName ( ) const

◆ getMachine()

uint16_t llvm::object::COFFImportFile::getMachine ( ) const
inline

◆ getSymbolFlags()

Expected< uint32_t > llvm::object::COFFImportFile::getSymbolFlags ( DataRefImpl  Symb) const
inlineoverridevirtual

Implements llvm::object::SymbolicFile.

Definition at line 50 of file COFFImportFile.h.

References llvm::object::BasicSymbolRef::SF_Global.

◆ is64Bit()

bool llvm::object::COFFImportFile::is64Bit ( ) const
inlineoverridevirtual

Implements llvm::object::SymbolicFile.

Definition at line 69 of file COFFImportFile.h.

◆ moveSymbolNext()

void llvm::object::COFFImportFile::moveSymbolNext ( DataRefImpl Symb) const
inlineoverridevirtual

Implements llvm::object::SymbolicFile.

Definition at line 46 of file COFFImportFile.h.

References llvm::object::DataRefImpl::p.

◆ printSymbolName()

Error llvm::object::COFFImportFile::printSymbolName ( raw_ostream OS,
DataRefImpl  Symb 
) const
overridevirtual

◆ symbol_begin()

basic_symbol_iterator llvm::object::COFFImportFile::symbol_begin ( ) const
inlineoverridevirtual

Implements llvm::object::SymbolicFile.

Definition at line 54 of file COFFImportFile.h.

◆ symbol_end()

basic_symbol_iterator llvm::object::COFFImportFile::symbol_end ( ) const
inlineoverridevirtual

The documentation for this class was generated from the following files: