struct Section
Declaration
struct Section { /* full declaration omitted */ };
Declared at: llvm/lib/ObjCopy/MachO/MachOObject.h:39
Member Variables
- public uint32_t Index
- public std::string Segname
- public std::string Sectname
- public std::string CanonicalName
- public uint64_t Addr = 0
- public uint64_t Size = 0
- public Optional<uint32_t> OriginalOffset
- public uint32_t Offset = 0
- public uint32_t Align = 0
- public uint32_t RelOff = 0
- public uint32_t NReloc = 0
- public uint32_t Flags = 0
- public uint32_t Reserved1 = 0
- public uint32_t Reserved2 = 0
- public uint32_t Reserved3 = 0
- public llvm::StringRef Content
- public std::vector<RelocationInfo> Relocations
Method Overview
- public Section(llvm::StringRef SegName, llvm::StringRef SectName)
- public Section(llvm::StringRef SegName, llvm::StringRef SectName, llvm::StringRef Content)
- public MachO::SectionType getType() const
- public bool hasValidOffset() const
- public bool isVirtualSection() const
Methods
¶Section(llvm::StringRef SegName,
llvm::StringRef SectName)
Section(llvm::StringRef SegName,
llvm::StringRef SectName)
Declared at: llvm/lib/ObjCopy/MachO/MachOObject.h:60
Parameters
- llvm::StringRef SegName
- llvm::StringRef SectName
¶Section(llvm::StringRef SegName,
llvm::StringRef SectName,
llvm::StringRef Content)
Section(llvm::StringRef SegName,
llvm::StringRef SectName,
llvm::StringRef Content)
Declared at: llvm/lib/ObjCopy/MachO/MachOObject.h:64
Parameters
- llvm::StringRef SegName
- llvm::StringRef SectName
- llvm::StringRef Content
¶MachO::SectionType getType() const
MachO::SectionType getType() const
Declared at: llvm/lib/ObjCopy/MachO/MachOObject.h:69
¶bool hasValidOffset() const
bool hasValidOffset() const
Declared at: llvm/lib/ObjCopy/MachO/MachOObject.h:79
¶bool isVirtualSection() const
bool isVirtualSection() const
Declared at: llvm/lib/ObjCopy/MachO/MachOObject.h:73