LLVM 22.0.0git
|
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) |
using llvm::objcopy::dxbc::PartPred = typedef llvm::function_ref<bool(const Part &)> |
Definition at line 33 of file DXContainerObject.h.
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
.
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().
|
static |
Definition at line 21 of file DXContainerObjcopy.cpp.
References Config, E, P, llvm::objcopy::dxbc::Object::recomputeHeader(), llvm::objcopy::dxbc::Object::removeParts(), and llvm::Error::success().
Referenced by executeObjcopyOnBinary().