LLVM 17.0.0git
Classes | Namespaces | Functions
Binary.h File Reference
#include "llvm-c/Types.h"
#include "llvm/Object/Error.h"
#include "llvm/Support/CBindingWrapping.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/TargetParser/Triple.h"
#include <memory>
#include <utility>
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.


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


namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::object


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