22 using namespace object;
24 void ObjectFile::anchor() { }
31 uint32_t &Result)
const {
static ObjectFile * createELFObjectFile(MemoryBuffer *Object)
Mach-O dynlinked shared lib.
StringRef getBuffer() const
ELF Relocatable object file.
#define llvm_unreachable(msg)
static ObjectFile * createObjectFile(StringRef ObjectPath)
Create ObjectFile from path.
ELF dynamically linked shared lib.
Windows compiled resource file (.rc)
content_iterator< SectionRef > section_iterator
Mach-O Preloaded Executable.
file_magic identify_magic(StringRef magic)
Identify the type of a binary file based on how magical it is.
static error_code getFile(Twine Filename, OwningPtr< MemoryBuffer > &result, int64_t FileSize=-1, bool RequiresNullTerminator=true)
virtual section_iterator getRelocatedSection(DataRefImpl Sec) const
size_t getBufferSize() const
Mach-O dSYM companion file.
The Mach-O dynamic linker.
virtual error_code getSymbolAlignment(DataRefImpl Symb, uint32_t &Res) const
static ObjectFile * createCOFFObjectFile(MemoryBuffer *Object)
static ObjectFile * createMachOObjectFile(MemoryBuffer *Object)