LLVM 20.0.0git
|
Typedefs | |
using | IHexLineData = SmallVector< char, 64 > |
using | SRecLineData = SmallVector< char, 64 > |
Enumerations | |
enum | ElfType { ELFT_ELF32LE , ELFT_ELF64LE , ELFT_ELF32BE , ELFT_ELF64BE } |
enum | SymbolShndxType { SYMBOL_SIMPLE_INDEX = 0 , SYMBOL_ABS = ELF::SHN_ABS , SYMBOL_COMMON = ELF::SHN_COMMON , SYMBOL_LOPROC = ELF::SHN_LOPROC , SYMBOL_AMDGPU_LDS = ELF::SHN_AMDGPU_LDS , SYMBOL_HEXAGON_SCOMMON = ELF::SHN_HEXAGON_SCOMMON , SYMBOL_HEXAGON_SCOMMON_2 = ELF::SHN_HEXAGON_SCOMMON_2 , SYMBOL_HEXAGON_SCOMMON_4 = ELF::SHN_HEXAGON_SCOMMON_4 , SYMBOL_HEXAGON_SCOMMON_8 = ELF::SHN_HEXAGON_SCOMMON_8 , SYMBOL_MIPS_ACOMMON = ELF::SHN_MIPS_ACOMMON , SYMBOL_MIPS_TEXT = ELF::SHN_MIPS_TEXT , SYMBOL_MIPS_DATA = ELF::SHN_MIPS_DATA , SYMBOL_MIPS_SCOMMON = ELF::SHN_MIPS_SCOMMON , SYMBOL_MIPS_SUNDEFINED = ELF::SHN_MIPS_SUNDEFINED , SYMBOL_HIPROC = ELF::SHN_HIPROC , SYMBOL_LOOS = ELF::SHN_LOOS , SYMBOL_HIOS = ELF::SHN_HIOS , SYMBOL_XINDEX = ELF::SHN_XINDEX } |
Functions | |
Error | executeObjcopyOnIHex (const CommonConfig &Config, const ELFConfig &ELFConfig, MemoryBuffer &In, raw_ostream &Out) |
Apply the transformations described by Config and ELFConfig to In , which must represent an IHex file, and writes the result into Out . | |
Error | executeObjcopyOnRawBinary (const CommonConfig &Config, const ELFConfig &ELFConfig, MemoryBuffer &In, raw_ostream &Out) |
Apply the transformations described by Config and ELFConfig to In , which is treated as a raw binary input, and writes the result into Out . | |
Error | executeObjcopyOnBinary (const CommonConfig &Config, const ELFConfig &ELFConfig, object::ELFObjectFileBase &In, raw_ostream &Out) |
Apply the transformations described by Config and ELFConfig to In and writes the result into Out . | |
using llvm::objcopy::elf::IHexLineData = typedef SmallVector<char, 64> |
Definition at line 197 of file ELFObject.h.
using llvm::objcopy::elf::SRecLineData = typedef SmallVector<char, 64> |
Definition at line 420 of file ELFObject.h.
Enumerator | |
---|---|
ELFT_ELF32LE | |
ELFT_ELF64LE | |
ELFT_ELF32BE | |
ELFT_ELF64BE |
Definition at line 71 of file ELFObject.h.
Definition at line 737 of file ELFObject.h.
Error llvm::objcopy::elf::executeObjcopyOnBinary | ( | const CommonConfig & | Config, |
const ELFConfig & | ELFConfig, | ||
object::ELFObjectFileBase & | In, | ||
raw_ostream & | Out | ||
) |
Apply the transformations described by Config
and ELFConfig
to In
and writes the result into Out
.
Definition at line 966 of file ELFObjcopy.cpp.
References Config, llvm::objcopy::elf::Reader::create(), llvm::createFileError(), getOutputElfType(), handleArgs(), llvm::Error::success(), llvm::Expected< T >::takeError(), and writeOutput().
Referenced by llvm::objcopy::executeObjcopyOnBinary().
Error llvm::objcopy::elf::executeObjcopyOnIHex | ( | const CommonConfig & | Config, |
const ELFConfig & | ELFConfig, | ||
MemoryBuffer & | In, | ||
raw_ostream & | Out | ||
) |
Apply the transformations described by Config
and ELFConfig
to In
, which must represent an IHex file, and writes the result into Out
.
Definition at line 933 of file ELFObjcopy.cpp.
References Config, llvm::objcopy::elf::Reader::create(), getOutputElfType(), handleArgs(), llvm::Expected< T >::takeError(), and writeOutput().
Error llvm::objcopy::elf::executeObjcopyOnRawBinary | ( | const CommonConfig & | Config, |
const ELFConfig & | ELFConfig, | ||
MemoryBuffer & | In, | ||
raw_ostream & | Out | ||
) |
Apply the transformations described by Config
and ELFConfig
to In
, which is treated as a raw binary input, and writes the result into Out
.
Definition at line 948 of file ELFObjcopy.cpp.
References Config, llvm::objcopy::elf::Reader::create(), getOutputElfType(), handleArgs(), llvm::objcopy::ELFConfig::NewSymbolVisibility, llvm::Expected< T >::takeError(), and writeOutput().