LLVM
8.0.1
|
#include "llvm/Object/SymbolicFile.h"
Public Types | |
using | basic_symbol_iterator_range = iterator_range< basic_symbol_iterator > |
Static Public Member Functions | |
static Expected< std::unique_ptr< SymbolicFile > > | createSymbolicFile (MemoryBufferRef Object, llvm::file_magic Type, LLVMContext *Context) |
static Expected< std::unique_ptr< SymbolicFile > > | createSymbolicFile (MemoryBufferRef Object) |
static Expected< OwningBinary< SymbolicFile > > | createSymbolicFile (StringRef ObjectPath) |
static bool | classof (const Binary *v) |
Static Public Member Functions inherited from llvm::object::Binary | |
static std::error_code | checkOffset (MemoryBufferRef M, uintptr_t Addr, const uint64_t Size) |
Additional Inherited Members | |
Protected Types inherited from llvm::object::Binary | |
enum | { ID_Archive, ID_MachOUniversalBinary, ID_COFFImportFile, ID_IR, ID_WinRes, ID_StartObjects, ID_COFF, ID_ELF32L, ID_ELF32B, ID_ELF64L, ID_ELF64B, ID_MachO32L, ID_MachO32B, ID_MachO64L, ID_MachO64B, 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 141 of file SymbolicFile.h.
using llvm::object::SymbolicFile::basic_symbol_iterator_range = iterator_range<basic_symbol_iterator> |
Definition at line 159 of file SymbolicFile.h.
SymbolicFile::SymbolicFile | ( | unsigned int | Type, |
MemoryBufferRef | Source | ||
) |
Definition at line 33 of file SymbolicFile.cpp.
References llvm::file_magic::archive, llvm::file_magic::bitcode, llvm::file_magic::coff_cl_gl_object, llvm::file_magic::coff_import_library, llvm::file_magic::coff_object, llvm::consumeError(), Context, llvm::object::IRObjectFile::create(), llvm::object::ObjectFile::createObjectFile(), createSymbolicFile(), llvm::object::Binary::Data, llvm::file_magic::elf, llvm::file_magic::elf_core, llvm::file_magic::elf_executable, llvm::file_magic::elf_relocatable, llvm::file_magic::elf_shared_object, llvm::errorCodeToError(), llvm::object::IRObjectFile::findBitcodeInObject(), llvm::Expected< T >::get(), llvm::MemoryBufferRef::getBuffer(), llvm::MemoryBufferRef::getBufferIdentifier(), llvm::identify_magic(), llvm::object::invalid_file_type, LLVM_FALLTHROUGH, llvm_unreachable, llvm::file_magic::macho_bundle, llvm::file_magic::macho_core, llvm::file_magic::macho_dsym_companion, llvm::file_magic::macho_dynamic_linker, llvm::file_magic::macho_dynamically_linked_shared_lib, llvm::file_magic::macho_dynamically_linked_shared_lib_stub, llvm::file_magic::macho_executable, llvm::file_magic::macho_fixed_virtual_memory_shared_lib, llvm::file_magic::macho_kext_bundle, llvm::file_magic::macho_object, llvm::file_magic::macho_preload_executable, llvm::file_magic::macho_universal_binary, llvm::file_magic::pdb, llvm::file_magic::pecoff_executable, llvm::Expected< T >::takeError(), llvm::file_magic::unknown, llvm::file_magic::wasm_object, llvm::file_magic::windows_resource, and ~SymbolicFile().
|
overridedefault |
Referenced by SymbolicFile().
Definition at line 176 of file SymbolicFile.h.
References llvm::object::Binary::isSymbolic().
|
static |
Referenced by llvm::object::createBinary(), getSymbols(), and SymbolicFile().
|
inlinestatic |
Definition at line 170 of file SymbolicFile.h.
References llvm::file_magic::unknown.
|
static |
|
pure virtual |
Implemented in llvm::object::COFFObjectFile, llvm::object::MachOObjectFile, llvm::object::ELFObjectFile< ELFT >, llvm::object::WasmObjectFile, llvm::object::COFFImportFile, and llvm::object::IRObjectFile.
Referenced by llvm::object::BasicSymbolRef::getFlags(), and llvm::object::ObjectFile::getSymbolValue().
|
pure virtual |
|
pure virtual |
Implemented in llvm::object::ObjectFile, llvm::object::IRObjectFile, and llvm::object::COFFImportFile.
Referenced by llvm::object::BasicSymbolRef::printName().
|
pure virtual |
Implemented in llvm::object::COFFObjectFile, llvm::object::ELFObjectFile< ELFT >, llvm::object::MachOObjectFile, llvm::object::WasmObjectFile, llvm::object::COFFImportFile, and llvm::object::IRObjectFile.
Referenced by llvm::object::computeSymbolSizes(), llvm::RuntimeDyldImpl::computeTotalAllocSize(), llvm::object::ELFObjectFile< ELFT >::getSection(), and llvm::object::ELFObjectFileBase::symbols().
|
pure virtual |
Implemented in llvm::object::COFFObjectFile, llvm::object::ELFObjectFile< ELFT >, llvm::object::MachOObjectFile, llvm::object::WasmObjectFile, llvm::object::COFFImportFile, and llvm::object::IRObjectFile.
Referenced by llvm::object::computeSymbolSizes(), llvm::RuntimeDyldImpl::computeTotalAllocSize(), llvm::object::ELFObjectFile< ELFT >::getRelocationSymbol(), llvm::object::ELFObjectFile< ELFT >::getSection(), getSymbolInfo(), llvm::RuntimeDyldCOFFI386::processRelocationRef(), llvm::RuntimeDyldCOFFThumb::processRelocationRef(), llvm::RuntimeDyldELF::processRelocationRef(), llvm::RuntimeDyldCOFFX86_64::processRelocationRef(), and llvm::object::ELFObjectFileBase::symbols().
|
inline |
Definition at line 160 of file SymbolicFile.h.
References Context.