LLVM 20.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 558 of file ELFObject.h.
Definition at line 587 of file ELFObject.h.
|
default |
|
inline |
Definition at line 597 of file ELFObject.h.
References Sections.
|
inline |
Definition at line 590 of file ELFObject.h.
References Sections.
Referenced by layoutSegmentsForOnlyKeepDebug().
Definition at line 599 of file ELFObject.h.
References Contents.
|
inline |
Definition at line 596 of file ELFObject.h.
References Sections.
Referenced by llvm::objcopy::elf::Object::removeSections().
uint64_t llvm::objcopy::elf::Segment::Align = 0 |
Definition at line 579 of file ELFObject.h.
Referenced by layoutSegments().
Definition at line 584 of file ELFObject.h.
Referenced by getContents().
uint64_t llvm::objcopy::elf::Segment::FileSize = 0 |
Definition at line 577 of file ELFObject.h.
Referenced by layoutSegments(), layoutSegmentsForOnlyKeepDebug(), sectionWithinSegment(), and segmentOverlapsSegment().
uint32_t llvm::objcopy::elf::Segment::Flags = 0 |
Definition at line 573 of file ELFObject.h.
uint32_t llvm::objcopy::elf::Segment::Index = 0 |
Definition at line 581 of file ELFObject.h.
uint64_t llvm::objcopy::elf::Segment::MemSize = 0 |
Definition at line 578 of file ELFObject.h.
Referenced by sectionWithinSegment().
uint64_t llvm::objcopy::elf::Segment::Offset = 0 |
Definition at line 574 of file ELFObject.h.
Referenced by layoutSections(), layoutSegments(), layoutSegmentsForOnlyKeepDebug(), and sectionWithinSegment().
uint64_t llvm::objcopy::elf::Segment::OriginalOffset = 0 |
Definition at line 582 of file ELFObject.h.
Referenced by layoutSections(), layoutSegments(), sectionPhysicalAddr(), and segmentOverlapsSegment().
uint64_t llvm::objcopy::elf::Segment::PAddr = 0 |
Definition at line 576 of file ELFObject.h.
Referenced by sectionPhysicalAddr().
Segment* llvm::objcopy::elf::Segment::ParentSegment = nullptr |
Definition at line 583 of file ELFObject.h.
Referenced by layoutSegments(), and layoutSegmentsForOnlyKeepDebug().
std::set<const SectionBase *, SectionCompare> llvm::objcopy::elf::Segment::Sections |
Definition at line 585 of file ELFObject.h.
Referenced by addSection(), firstSection(), layoutSegmentsForOnlyKeepDebug(), and removeSection().
uint32_t llvm::objcopy::elf::Segment::Type = 0 |
Definition at line 572 of file ELFObject.h.
Referenced by layoutSegmentsForOnlyKeepDebug(), sectionPhysicalAddr(), and sectionWithinSegment().
uint64_t llvm::objcopy::elf::Segment::VAddr = 0 |
Definition at line 575 of file ELFObject.h.
Referenced by layoutSegments(), and sectionWithinSegment().