LLVM 20.0.0git
|
Classes | |
struct | Object |
struct | Section |
struct | Symbol |
class | XCOFFReader |
class | XCOFFWriter |
Functions | |
Error | executeObjcopyOnBinary (const CommonConfig &Config, const XCOFFConfig &, object::XCOFFObjectFile &In, raw_ostream &Out) |
Apply the transformations described by Config and XCOFFConfig to In and writes the result into Out . | |
static Error | handleArgs (const CommonConfig &Config, Object &Obj) |
Error llvm::objcopy::xcoff::executeObjcopyOnBinary | ( | const CommonConfig & | Config, |
const XCOFFConfig & | , | ||
object::XCOFFObjectFile & | In, | ||
raw_ostream & | Out | ||
) |
Apply the transformations described by Config
and XCOFFConfig
to In
and writes the result into Out
.
Definition at line 26 of file XCOFFObjcopy.cpp.
References assert(), Config, llvm::objcopy::xcoff::XCOFFReader::create(), llvm::createFileError(), E, llvm::Expected< T >::get(), handleArgs(), llvm::Error::success(), llvm::Expected< T >::takeError(), and llvm::objcopy::xcoff::XCOFFWriter::write().
Referenced by llvm::objcopy::executeObjcopyOnBinary().
|
static |
Definition at line 22 of file XCOFFObjcopy.cpp.
References llvm::Error::success().
Referenced by executeObjcopyOnBinary().