LLVM 20.0.0git
|
#include "llvm/Object/COFFImportFile.h"
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 |
Definition at line 36 of file COFFImportFile.h.
|
inline |
Definition at line 41 of file COFFImportFile.h.
Definition at line 44 of file COFFImportFile.h.
|
inline |
Definition at line 71 of file COFFImportFile.h.
References llvm::object::Binary::Data, and llvm::MemoryBufferRef::getBufferStart().
Referenced by getExportName(), and getMachine().
StringRef llvm::object::COFFImportFile::getExportName | ( | ) | const |
Definition at line 76 of file COFFImportFile.cpp.
References llvm::object::applyNameType(), llvm::object::Binary::Data, llvm::MemoryBufferRef::getBuffer(), getCOFFImportHeader(), llvm::object::coff_import_header::getNameType(), llvm::COFF::IMPORT_NAME_EXPORTAS, llvm::COFF::IMPORT_NAME_NOPREFIX, llvm::COFF::IMPORT_NAME_UNDECORATE, llvm::COFF::IMPORT_ORDINAL, name, llvm::StringRef::split(), and llvm::StringRef::substr().
StringRef llvm::object::COFFImportFile::getFileFormatName | ( | ) | const |
Definition at line 38 of file COFFImportFile.cpp.
References getMachine(), llvm::COFF::IMAGE_FILE_MACHINE_AMD64, llvm::COFF::IMAGE_FILE_MACHINE_ARM64, llvm::COFF::IMAGE_FILE_MACHINE_ARM64EC, llvm::COFF::IMAGE_FILE_MACHINE_ARM64X, llvm::COFF::IMAGE_FILE_MACHINE_ARMNT, and llvm::COFF::IMAGE_FILE_MACHINE_I386.
|
inline |
Definition at line 76 of file COFFImportFile.h.
References getCOFFImportHeader(), and llvm::object::coff_import_header::Machine.
Referenced by getFileFormatName(), printSymbolName(), and symbol_end().
|
inlineoverridevirtual |
Implements llvm::object::SymbolicFile.
Definition at line 50 of file COFFImportFile.h.
References llvm::object::BasicSymbolRef::SF_Global.
|
inlineoverridevirtual |
Implements llvm::object::SymbolicFile.
Definition at line 69 of file COFFImportFile.h.
|
inlineoverridevirtual |
Implements llvm::object::SymbolicFile.
Definition at line 46 of file COFFImportFile.h.
References llvm::object::DataRefImpl::p.
|
overridevirtual |
Implements llvm::object::SymbolicFile.
Definition at line 101 of file COFFImportFile.cpp.
References llvm::object::Binary::Data, llvm::getArm64ECDemangledFunctionName(), llvm::MemoryBufferRef::getBufferStart(), getMachine(), llvm::COFF::isArm64EC(), Name, OS, llvm::object::DataRefImpl::p, and llvm::Error::success().
|
inlineoverridevirtual |
Implements llvm::object::SymbolicFile.
Definition at line 54 of file COFFImportFile.h.
|
inlineoverridevirtual |
Implements llvm::object::SymbolicFile.
Definition at line 58 of file COFFImportFile.h.
References getMachine(), llvm::COFF::isArm64EC(), and llvm::object::DataRefImpl::p.