LLVM 18.0.0git
|
#include "ObjCopy/ELF/ELFObject.h"
Public Types | |
enum | Type { Data = 0 , EndOfFile = 1 , SegmentAddr = 2 , StartAddr80x86 = 3 , ExtendedAddr = 4 , StartAddr = 5 , InvalidType = 6 } |
Static Public Member Functions | |
static size_t | getLength (size_t DataSize) |
static size_t | getLineLength (size_t DataSize) |
static IHexLineData | getLine (uint8_t Type, uint16_t Addr, ArrayRef< uint8_t > Data) |
static Expected< IHexRecord > | parse (StringRef Line) |
static uint8_t | getChecksum (StringRef S) |
Public Attributes | |
uint16_t | Addr |
uint16_t | Type |
StringRef | HexData |
Definition at line 196 of file ELFObject.h.
Enumerator | |
---|---|
Data | |
EndOfFile | |
SegmentAddr | |
StartAddr80x86 | |
ExtendedAddr | |
StartAddr | |
InvalidType |
Definition at line 230 of file ELFObject.h.
|
static |
Definition at line 206 of file ELFObject.cpp.
References assert(), llvm::StringRef::drop_front(), llvm::StringRef::empty(), llvm::StringRef::size(), and llvm::StringRef::take_front().
|
inlinestatic |
Definition at line 206 of file ELFObject.h.
Referenced by getLineLength(), and parse().
|
static |
Definition at line 216 of file ELFObject.cpp.
References Addr, assert(), Data, getChecksum(), getLineLength(), toHexStr(), and X.
Referenced by llvm::objcopy::elf::IHexSectionWriter::writeData().
|
inlinestatic |
Definition at line 212 of file ELFObject.h.
References getLength().
Referenced by llvm::objcopy::elf::IHexWriter::finalize(), getLine(), and llvm::objcopy::elf::IHexSectionWriterBase::writeData().
|
static |
Definition at line 298 of file ELFObject.cpp.
References Addr, assert(), checkChars(), checkRecord(), llvm::createStringError(), E, getChecksum(), getLength(), HexData, and llvm::invalid_argument.
uint16_t llvm::objcopy::elf::IHexRecord::Addr |
Definition at line 198 of file ELFObject.h.
StringRef llvm::objcopy::elf::IHexRecord::HexData |
Definition at line 202 of file ELFObject.h.
Referenced by parse().
Definition at line 200 of file ELFObject.h.