LLVM 22.0.0git
|
#include "ObjCopy/MachO/MachOObject.h"
Public Member Functions | |
Section (StringRef SegName, StringRef SectName) | |
Section (StringRef SegName, StringRef SectName, StringRef Content) | |
MachO::SectionType | getType () const |
bool | isBssSection () const |
bool | hasValidOffset () const |
Public Attributes | |
uint32_t | Index |
std::string | Segname |
std::string | Sectname |
std::string | CanonicalName |
uint64_t | Addr = 0 |
uint64_t | Size = 0 |
std::optional< uint32_t > | OriginalOffset |
uint32_t | Offset = 0 |
uint32_t | Align = 0 |
uint32_t | RelOff = 0 |
uint32_t | NReloc = 0 |
uint32_t | Flags = 0 |
uint32_t | Reserved1 = 0 |
uint32_t | Reserved2 = 0 |
uint32_t | Reserved3 = 0 |
StringRef | Content |
std::vector< RelocationInfo > | Relocations |
Definition at line 38 of file MachOObject.h.
Definition at line 17 of file MachOObject.cpp.
References CanonicalName, Sectname, and Segname.
Definition at line 21 of file MachOObject.cpp.
References CanonicalName, Content, Sectname, and Segname.
|
inline |
Definition at line 63 of file MachOObject.h.
References Flags, and llvm::MachO::SECTION_TYPE.
Referenced by isBssSection().
|
inline |
Definition at line 73 of file MachOObject.h.
References isBssSection(), and OriginalOffset.
|
inline |
Definition at line 67 of file MachOObject.h.
References getType(), llvm::MachO::S_GB_ZEROFILL, llvm::MachO::S_THREAD_LOCAL_ZEROFILL, and llvm::MachO::S_ZEROFILL.
Referenced by hasValidOffset().
uint64_t llvm::objcopy::macho::Section::Addr = 0 |
Definition at line 44 of file MachOObject.h.
Referenced by constructSectionCommon().
uint32_t llvm::objcopy::macho::Section::Align = 0 |
Definition at line 49 of file MachOObject.h.
Referenced by constructSectionCommon().
std::string llvm::objcopy::macho::Section::CanonicalName |
Definition at line 43 of file MachOObject.h.
StringRef llvm::objcopy::macho::Section::Content |
Definition at line 56 of file MachOObject.h.
Referenced by addSection(), extractSections(), Section(), and updateSection().
uint32_t llvm::objcopy::macho::Section::Flags = 0 |
Definition at line 52 of file MachOObject.h.
Referenced by constructSectionCommon(), and getType().
uint32_t llvm::objcopy::macho::Section::Index |
Definition at line 39 of file MachOObject.h.
Referenced by constructSectionCommon().
uint32_t llvm::objcopy::macho::Section::NReloc = 0 |
Definition at line 51 of file MachOObject.h.
Referenced by constructSectionCommon(), and extractSections().
uint32_t llvm::objcopy::macho::Section::Offset = 0 |
Definition at line 48 of file MachOObject.h.
std::optional<uint32_t> llvm::objcopy::macho::Section::OriginalOffset |
Definition at line 47 of file MachOObject.h.
Referenced by constructSectionCommon(), and hasValidOffset().
std::vector<RelocationInfo> llvm::objcopy::macho::Section::Relocations |
Definition at line 57 of file MachOObject.h.
Referenced by extractSections().
uint32_t llvm::objcopy::macho::Section::RelOff = 0 |
Definition at line 50 of file MachOObject.h.
Referenced by constructSectionCommon().
uint32_t llvm::objcopy::macho::Section::Reserved1 = 0 |
Definition at line 53 of file MachOObject.h.
Referenced by constructSectionCommon().
uint32_t llvm::objcopy::macho::Section::Reserved2 = 0 |
Definition at line 54 of file MachOObject.h.
Referenced by constructSectionCommon().
uint32_t llvm::objcopy::macho::Section::Reserved3 = 0 |
Definition at line 55 of file MachOObject.h.
Referenced by constructSection(), and constructSectionCommon().
std::string llvm::objcopy::macho::Section::Sectname |
Definition at line 41 of file MachOObject.h.
std::string llvm::objcopy::macho::Section::Segname |
Definition at line 40 of file MachOObject.h.
uint64_t llvm::objcopy::macho::Section::Size = 0 |
Definition at line 45 of file MachOObject.h.
Referenced by addSection(), constructSectionCommon(), and updateSection().