LLVM 22.0.0git
Classes | Typedefs | Functions
llvm::objcopy::dxbc Namespace Reference

Classes

class  DXContainerReader
 
class  DXContainerWriter
 
struct  Object
 
struct  Part
 

Typedefs

using PartPred = llvm::function_ref< bool(const Part &)>
 

Functions

Error executeObjcopyOnBinary (const CommonConfig &Config, const DXContainerConfig &, object::DXContainerObjectFile &In, raw_ostream &Out)
 Apply the transformations described by Config and DXContainerConfig to In and writes the result into Out.
 
static Error handleArgs (const CommonConfig &Config, Object &Obj)
 

Typedef Documentation

◆ PartPred

Definition at line 33 of file DXContainerObject.h.

Function Documentation

◆ executeObjcopyOnBinary()

Error llvm::objcopy::dxbc::executeObjcopyOnBinary ( const CommonConfig Config,
const DXContainerConfig ,
object::DXContainerObjectFile In,
raw_ostream Out 
)

Apply the transformations described by Config and DXContainerConfig to In and writes the result into Out.

Returns
any Error encountered whilst performing the operation.

Definition at line 38 of file DXContainerObjcopy.cpp.

References assert(), Config, llvm::objcopy::dxbc::DXContainerReader::create(), llvm::createFileError(), E, llvm::Expected< T >::get(), handleArgs(), llvm::Error::success(), llvm::Expected< T >::takeError(), and llvm::objcopy::dxbc::DXContainerWriter::write().

◆ handleArgs()

static Error llvm::objcopy::dxbc::handleArgs ( const CommonConfig Config,
Object Obj 
)
static