LLVM 18.0.0git
|
#include "ObjCopy/ELF/ELFObject.h"
Public Member Functions | |
Segment (ArrayRef< uint8_t > Data) | |
Segment ()=default | |
const SectionBase * | firstSection () const |
void | removeSection (const SectionBase *Sec) |
void | addSection (const SectionBase *Sec) |
ArrayRef< uint8_t > | getContents () const |
Public Attributes | |
uint32_t | Type = 0 |
uint32_t | Flags = 0 |
uint64_t | Offset = 0 |
uint64_t | VAddr = 0 |
uint64_t | PAddr = 0 |
uint64_t | FileSize = 0 |
uint64_t | MemSize = 0 |
uint64_t | Align = 0 |
uint32_t | Index = 0 |
uint64_t | OriginalOffset = 0 |
Segment * | ParentSegment = nullptr |
ArrayRef< uint8_t > | Contents |
std::set< const SectionBase *, SectionCompare > | Sections |
Definition at line 439 of file ELFObject.h.
|
inlineexplicit |
Definition at line 468 of file ELFObject.h.
|
default |
|
inline |
Definition at line 478 of file ELFObject.h.
References Sections.
|
inline |
Definition at line 471 of file ELFObject.h.
References Sections.
Referenced by layoutSegmentsForOnlyKeepDebug().
|
inline |
Definition at line 480 of file ELFObject.h.
References Contents.
|
inline |
Definition at line 477 of file ELFObject.h.
References Sections.
Referenced by llvm::objcopy::elf::Object::removeSections().
uint64_t llvm::objcopy::elf::Segment::Align = 0 |
Definition at line 460 of file ELFObject.h.
Referenced by layoutSegments().
ArrayRef<uint8_t> llvm::objcopy::elf::Segment::Contents |
Definition at line 465 of file ELFObject.h.
Referenced by getContents().
uint64_t llvm::objcopy::elf::Segment::FileSize = 0 |
Definition at line 458 of file ELFObject.h.
Referenced by layoutSegments(), layoutSegmentsForOnlyKeepDebug(), sectionWithinSegment(), and segmentOverlapsSegment().
uint32_t llvm::objcopy::elf::Segment::Flags = 0 |
Definition at line 454 of file ELFObject.h.
uint32_t llvm::objcopy::elf::Segment::Index = 0 |
Definition at line 462 of file ELFObject.h.
uint64_t llvm::objcopy::elf::Segment::MemSize = 0 |
Definition at line 459 of file ELFObject.h.
Referenced by sectionWithinSegment().
uint64_t llvm::objcopy::elf::Segment::Offset = 0 |
Definition at line 455 of file ELFObject.h.
Referenced by layoutSections(), layoutSegments(), layoutSegmentsForOnlyKeepDebug(), and sectionWithinSegment().
uint64_t llvm::objcopy::elf::Segment::OriginalOffset = 0 |
Definition at line 463 of file ELFObject.h.
Referenced by layoutSections(), layoutSegments(), sectionPhysicalAddr(), and segmentOverlapsSegment().
uint64_t llvm::objcopy::elf::Segment::PAddr = 0 |
Definition at line 457 of file ELFObject.h.
Referenced by sectionPhysicalAddr().
Segment* llvm::objcopy::elf::Segment::ParentSegment = nullptr |
Definition at line 464 of file ELFObject.h.
Referenced by layoutSegments(), and layoutSegmentsForOnlyKeepDebug().
std::set<const SectionBase *, SectionCompare> llvm::objcopy::elf::Segment::Sections |
Definition at line 466 of file ELFObject.h.
Referenced by addSection(), firstSection(), layoutSegmentsForOnlyKeepDebug(), and removeSection().
uint32_t llvm::objcopy::elf::Segment::Type = 0 |
Definition at line 453 of file ELFObject.h.
Referenced by layoutSegmentsForOnlyKeepDebug(), sectionPhysicalAddr(), and sectionWithinSegment().
uint64_t llvm::objcopy::elf::Segment::VAddr = 0 |
Definition at line 456 of file ELFObject.h.
Referenced by layoutSegments(), and sectionWithinSegment().