LLVM API Documentation

Classes | Namespaces | Functions
Binary.h File Reference
#include "llvm/Object/Error.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
Include dependency graph for Binary.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::object::Binary
class  llvm::object::OwningBinary< T >

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


namespace  llvm::object

Functions

ErrorOr< std::unique_ptr
< Binary > > 
llvm::object::createBinary (MemoryBufferRef Source, LLVMContext *Context=nullptr)
 Create a Binary from Source, autodetecting the file type.
ErrorOr< OwningBinary< Binary > > llvm::object::createBinary (StringRef Path)