LLVM 20.0.0git
Public Member Functions | List of all members
llvm::object::OwningBinary< T > Class Template Reference

#include "llvm/Object/Binary.h"

Inheritance diagram for llvm::object::OwningBinary< T >:
Inheritance graph
[legend]

Public Member Functions

 OwningBinary ()
 
 OwningBinary (std::unique_ptr< T > Bin, std::unique_ptr< MemoryBuffer > Buf)
 
 OwningBinary (OwningBinary< T > &&Other)
 
OwningBinary< T > & operator= (OwningBinary< T > &&Other)
 
std::pair< std::unique_ptr< T >, std::unique_ptr< MemoryBuffer > > takeBinary ()
 
TgetBinary ()
 
const TgetBinary () const
 

Detailed Description

template<typename T>
class llvm::object::OwningBinary< T >

Definition at line 196 of file Binary.h.

Constructor & Destructor Documentation

◆ OwningBinary() [1/3]

template<typename T >
llvm::object::OwningBinary< T >::OwningBinary ( )
default

◆ OwningBinary() [2/3]

template<typename T >
llvm::object::OwningBinary< T >::OwningBinary ( std::unique_ptr< T Bin,
std::unique_ptr< MemoryBuffer Buf 
)

Definition at line 213 of file Binary.h.

◆ OwningBinary() [3/3]

template<typename T >
llvm::object::OwningBinary< T >::OwningBinary ( OwningBinary< T > &&  Other)

Definition at line 220 of file Binary.h.

Member Function Documentation

◆ getBinary() [1/2]

template<typename T >
T * llvm::object::OwningBinary< T >::getBinary

Definition at line 236 of file Binary.h.

References llvm::Bin.

Referenced by loadObj().

◆ getBinary() [2/2]

template<typename T >
const T * llvm::object::OwningBinary< T >::getBinary

Definition at line 240 of file Binary.h.

References llvm::Bin.

◆ operator=()

template<typename T >
OwningBinary< T > & llvm::object::OwningBinary< T >::operator= ( OwningBinary< T > &&  Other)

Definition at line 224 of file Binary.h.

References llvm::Bin, and llvm::Other.

◆ takeBinary()

template<typename T >
std::pair< std::unique_ptr< T >, std::unique_ptr< MemoryBuffer > > llvm::object::OwningBinary< T >::takeBinary

Definition at line 232 of file Binary.h.

References llvm::Bin.

Referenced by llvm::MCJIT::addObjectFile().


The documentation for this class was generated from the following files: