LLVM 20.0.0git
|
#include "llvm/Object/TapiFile.h"
Static Public Member Functions | |
static bool | classof (const Binary *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 31 of file TapiFile.h.
TapiFile::TapiFile | ( | MemoryBufferRef | Source, |
const MachO::InterfaceFile & | Interface, | ||
MachO::Architecture | Arch | ||
) |
Definition at line 50 of file TapiFile.cpp.
References llvm::MachO::Symbol::getArchitectures(), getFlags(), llvm::MachO::Symbol::getKind(), llvm::MachO::Symbol::getName(), llvm::object::Binary::getType(), llvm::MachO::ArchitectureSet::has(), llvm::MachO::ObjC1ClassNamePrefix, llvm::MachO::ObjC2ClassNamePrefix, llvm::MachO::ObjC2EHTypePrefix, llvm::MachO::ObjC2IVarPrefix, and llvm::MachO::ObjC2MetaClassNamePrefix.
|
overridedefault |
Definition at line 51 of file TapiFile.h.
|
overridevirtual |
Implements llvm::object::SymbolicFile.
Definition at line 102 of file TapiFile.cpp.
References llvm::object::DataRefImpl::a, assert(), and llvm::object::DataRefImpl::d.
Expected< SymbolRef::Type > TapiFile::getSymbolType | ( | DataRefImpl | DRI | ) | const |
Definition at line 97 of file TapiFile.cpp.
References llvm::object::DataRefImpl::a, assert(), and llvm::object::DataRefImpl::d.
|
inline |
Definition at line 49 of file TapiFile.h.
References llvm::MachO::TBD_V5.
|
inlineoverridevirtual |
Implements llvm::object::SymbolicFile.
Definition at line 53 of file TapiFile.h.
References llvm::MachO::is64Bit().
|
overridevirtual |
Implements llvm::object::SymbolicFile.
Definition at line 88 of file TapiFile.cpp.
References llvm::object::DataRefImpl::a, and llvm::object::DataRefImpl::d.
|
overridevirtual |
Implements llvm::object::SymbolicFile.
Definition at line 90 of file TapiFile.cpp.
References llvm::object::DataRefImpl::a, assert(), llvm::object::DataRefImpl::d, OS, llvm::Error::success(), and Sym.
|
overridevirtual |
Implements llvm::object::SymbolicFile.
Definition at line 107 of file TapiFile.cpp.
References llvm::object::DataRefImpl::a, and llvm::object::DataRefImpl::d.
|
overridevirtual |
Implements llvm::object::SymbolicFile.
Definition at line 113 of file TapiFile.cpp.
References llvm::object::DataRefImpl::a, and llvm::object::DataRefImpl::d.