LLVM 20.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>

Go to the source code of this file.

Classes

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

Namespaces

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

Functions

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)