LLVM API Documentation
#include <SymbolicFile.h>
Definition at line 116 of file SymbolicFile.h.
typedef iterator_range<basic_symbol_iterator> llvm::object::SymbolicFile::basic_symbol_iterator_range |
Definition at line 140 of file SymbolicFile.h.
SymbolicFile::~SymbolicFile | ( | ) | [virtual] |
Definition at line 25 of file SymbolicFile.cpp.
SymbolicFile::SymbolicFile | ( | unsigned int | Type, |
MemoryBufferRef | Source | ||
) |
Definition at line 22 of file SymbolicFile.cpp.
static bool llvm::object::SymbolicFile::classof | ( | const Binary * | v | ) | [inline, static] |
Reimplemented in llvm::object::COFFObjectFile, llvm::object::MachOObjectFile, llvm::object::ObjectFile, llvm::object::ELFObjectFile< ELFT >, and llvm::object::IRObjectFile.
Definition at line 157 of file SymbolicFile.h.
References llvm::object::Binary::isSymbolic().
ErrorOr< std::unique_ptr< SymbolicFile > > SymbolicFile::createSymbolicFile | ( | MemoryBufferRef | Object, |
sys::fs::file_magic | Type, | ||
LLVMContext * | Context | ||
) | [static] |
Definition at line 27 of file SymbolicFile.cpp.
References llvm::sys::fs::file_magic::archive, llvm::sys::fs::file_magic::bitcode, llvm::sys::fs::file_magic::coff_import_library, llvm::sys::fs::file_magic::coff_object, llvm::object::IRObjectFile::createIRObjectFile(), llvm::object::ObjectFile::createObjectFile(), llvm::object::Binary::Data, llvm::sys::fs::file_magic::elf_core, llvm::sys::fs::file_magic::elf_executable, llvm::sys::fs::file_magic::elf_relocatable, llvm::sys::fs::file_magic::elf_shared_object, llvm::MemoryBufferRef::getBuffer(), llvm::sys::fs::identify_magic(), llvm::object::invalid_file_type, llvm_unreachable, llvm::sys::fs::file_magic::macho_bundle, llvm::sys::fs::file_magic::macho_core, llvm::sys::fs::file_magic::macho_dsym_companion, llvm::sys::fs::file_magic::macho_dynamic_linker, llvm::sys::fs::file_magic::macho_dynamically_linked_shared_lib, llvm::sys::fs::file_magic::macho_dynamically_linked_shared_lib_stub, llvm::sys::fs::file_magic::macho_executable, llvm::sys::fs::file_magic::macho_fixed_virtual_memory_shared_lib, llvm::sys::fs::file_magic::macho_object, llvm::sys::fs::file_magic::macho_preload_executable, llvm::sys::fs::file_magic::macho_universal_binary, llvm::sys::fs::file_magic::pecoff_executable, llvm::sys::fs::file_magic::unknown, and llvm::sys::fs::file_magic::windows_resource.
Referenced by llvm::object::createBinary(), and createSymbolicFile().
static ErrorOr<std::unique_ptr<SymbolicFile> > llvm::object::SymbolicFile::createSymbolicFile | ( | MemoryBufferRef | Object | ) | [inline, static] |
Definition at line 151 of file SymbolicFile.h.
References createSymbolicFile(), and llvm::sys::fs::file_magic::unknown.
static ErrorOr<OwningBinary<SymbolicFile> > llvm::object::SymbolicFile::createSymbolicFile | ( | StringRef | ObjectPath | ) | [static] |
virtual uint32_t llvm::object::SymbolicFile::getSymbolFlags | ( | DataRefImpl | Symb | ) | const [pure virtual] |
Implemented in llvm::object::COFFObjectFile, llvm::object::MachOObjectFile, llvm::object::ELFObjectFile< ELFT >, and llvm::object::IRObjectFile.
Referenced by llvm::object::BasicSymbolRef::getFlags().
virtual void llvm::object::SymbolicFile::moveSymbolNext | ( | DataRefImpl & | Symb | ) | const [pure virtual] |
Implemented in llvm::object::COFFObjectFile, llvm::object::MachOObjectFile, llvm::object::ELFObjectFile< ELFT >, and llvm::object::IRObjectFile.
Referenced by llvm::object::BasicSymbolRef::moveNext().
virtual std::error_code llvm::object::SymbolicFile::printSymbolName | ( | raw_ostream & | OS, |
DataRefImpl | Symb | ||
) | const [pure virtual] |
Implemented in llvm::object::ObjectFile, and llvm::object::IRObjectFile.
Referenced by llvm::object::BasicSymbolRef::printName().
basic_symbol_iterator llvm::object::SymbolicFile::symbol_begin | ( | ) | const [inline] |
Definition at line 134 of file SymbolicFile.h.
References symbol_begin_impl().
Referenced by printRelocationTargetName(), symbols(), and llvm::object::ObjectFile::symbols().
virtual basic_symbol_iterator llvm::object::SymbolicFile::symbol_begin_impl | ( | ) | const [pure virtual] |
Implemented in llvm::object::COFFObjectFile, llvm::object::MachOObjectFile, llvm::object::ELFObjectFile< ELFT >, and llvm::object::IRObjectFile.
Referenced by symbol_begin().
basic_symbol_iterator llvm::object::SymbolicFile::symbol_end | ( | ) | const [inline] |
Definition at line 137 of file SymbolicFile.h.
References symbol_end_impl().
Referenced by llvm::object::MachOObjectFile::getRelocationSymbol(), symbols(), and llvm::object::ObjectFile::symbols().
virtual basic_symbol_iterator llvm::object::SymbolicFile::symbol_end_impl | ( | ) | const [pure virtual] |
Implemented in llvm::object::COFFObjectFile, llvm::object::MachOObjectFile, llvm::object::ELFObjectFile< ELFT >, and llvm::object::IRObjectFile.
Referenced by symbol_end().
basic_symbol_iterator_range llvm::object::SymbolicFile::symbols | ( | ) | const [inline] |
Reimplemented in llvm::object::ObjectFile.
Definition at line 141 of file SymbolicFile.h.
References symbol_begin(), and symbol_end().