LLVM 22.0.0git
Binary.h File Reference
#include "llvm-c/Types.h"
#include "llvm/Object/Error.h"
#include "llvm/Support/CBindingWrapping.h"
#include "llvm/Support/Compiler.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

LLVM_ABI 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.
LLVM_ABI Expected< OwningBinary< Binary > > llvm::object::createBinary (StringRef Path, LLVMContext *Context=nullptr, bool InitContent=true)