LLVM: llvm::objcopy:🧝:IHexRecord Struct Reference (original) (raw)
#include "[ObjCopy/ELF/ELFObject.h](ELFObject%5F8h%5Fsource.html)"
| 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) |
Definition at line 199 of file ELFObject.h.
◆ Type
| Enumerator |
|---|
| Data |
| EndOfFile |
| SegmentAddr |
| StartAddr80x86 |
| ExtendedAddr |
| StartAddr |
| InvalidType |
Definition at line 233 of file ELFObject.h.
◆ getChecksum()
◆ getLength()
| size_t llvm::objcopy:🧝:IHexRecord::getLength ( size_t DataSize) | inlinestatic |
|---|
◆ getLine()
◆ getLineLength()
| size_t llvm::objcopy:🧝:IHexRecord::getLineLength ( size_t DataSize) | inlinestatic |
|---|
◆ parse()
Definition at line 314 of file ELFObject.cpp.
References Addr, assert(), checkChars(), checkedGetHex(), checkRecord(), llvm::createStringError(), getChecksum(), getLength(), HexData, llvm::invalid_argument, and llvm::StringRef::substr().
◆ Addr
uint16_t llvm::objcopy:🧝:IHexRecord::Addr
◆ HexData
StringRef llvm::objcopy:🧝:IHexRecord::HexData
◆ Type
The documentation for this struct was generated from the following files:
- lib/ObjCopy/ELF/ELFObject.h
- lib/ObjCopy/ELF/ELFObject.cpp