LLVM 23.0.0git
llvm::object::ESDRecord Class Reference

#include "llvm/Object/GOFF.h"

Inheritance diagram for llvm::object::ESDRecord:
[legend]

Static Public Member Functions

static LLVM_ABI Error getData (const uint8_t *Record, SmallString< 256 > &CompleteData)
static void getSymbolType (const uint8_t *Record, GOFF::ESDSymbolType &SymbolType)
static void getEsdId (const uint8_t *Record, uint32_t &EsdId)
static void getParentEsdId (const uint8_t *Record, uint32_t &EsdId)
static void getOffset (const uint8_t *Record, uint32_t &Offset)
static void getLength (const uint8_t *Record, uint32_t &Length)
static void getNameSpaceId (const uint8_t *Record, GOFF::ESDNameSpaceId &Id)
static void getFillBytePresent (const uint8_t *Record, bool &Present)
static void getNameMangled (const uint8_t *Record, bool &Mangled)
static void getRenamable (const uint8_t *Record, bool &Renamable)
static void getRemovable (const uint8_t *Record, bool &Removable)
static void getFillByteValue (const uint8_t *Record, uint8_t &Fill)
static void getAdaEsdId (const uint8_t *Record, uint32_t &EsdId)
static void getSortPriority (const uint8_t *Record, uint32_t &Priority)
static void getAmode (const uint8_t *Record, GOFF::ESDAmode &Amode)
static void getRmode (const uint8_t *Record, GOFF::ESDRmode &Rmode)
static void getTextStyle (const uint8_t *Record, GOFF::ESDTextStyle &Style)
static void getBindingAlgorithm (const uint8_t *Record, GOFF::ESDBindingAlgorithm &Algorithm)
static void getTaskingBehavior (const uint8_t *Record, GOFF::ESDTaskingBehavior &TaskingBehavior)
static void getReadOnly (const uint8_t *Record, bool &ReadOnly)
static void getExecutable (const uint8_t *Record, GOFF::ESDExecutable &Executable)
static void getDuplicateSeverity (const uint8_t *Record, GOFF::ESDDuplicateSymbolSeverity &DSS)
static void getBindingStrength (const uint8_t *Record, GOFF::ESDBindingStrength &Strength)
static void getLoadingBehavior (const uint8_t *Record, GOFF::ESDLoadingBehavior &Behavior)
static void getIndirectReference (const uint8_t *Record, bool &Indirect)
static void getBindingScope (const uint8_t *Record, GOFF::ESDBindingScope &Scope)
static void getLinkageType (const uint8_t *Record, GOFF::ESDLinkageType &Type)
static void getAlignment (const uint8_t *Record, GOFF::ESDAlignment &Alignment)
static uint16_t getNameLength (const uint8_t *Record)
Static Public Member Functions inherited from llvm::object::Record
static LLVM_ABI Error getContinuousData (const uint8_t *Record, uint16_t DataLength, int DataIndex, SmallString< 256 > &CompleteData)
static bool isContinued (const uint8_t *Record)
static bool isContinuation (const uint8_t *Record)

Static Public Attributes

static const uint8_t ESDMaxUncontinuedNameLength = 8
 Number of bytes for name; any more must go in continuation.
static const uint16_t MaxNameLength = 32 * 1024
 Maximum name length for ESD records and continuations.

Additional Inherited Members

Static Protected Member Functions inherited from llvm::object::Record
static void getBits (const uint8_t *Bytes, uint8_t ByteIndex, uint8_t BitIndex, uint8_t Length, uint8_t &Value)
 Get bit field of specified byte.
template<class T>
static void get (const uint8_t *Bytes, uint8_t ByteIndex, T &Value)

Detailed Description

Definition at line 110 of file GOFF.h.

Member Function Documentation

◆ getAdaEsdId()

void llvm::object::ESDRecord::getAdaEsdId ( const uint8_t * Record,
uint32_t & EsdId )
inlinestatic

Definition at line 185 of file GOFF.h.

References llvm::object::Record::get().

◆ getAlignment()

void llvm::object::ESDRecord::getAlignment ( const uint8_t * Record,
GOFF::ESDAlignment & Alignment )
inlinestatic

Definition at line 279 of file GOFF.h.

References llvm::object::Record::getBits().

◆ getAmode()

void llvm::object::ESDRecord::getAmode ( const uint8_t * Record,
GOFF::ESDAmode & Amode )
inlinestatic

Definition at line 193 of file GOFF.h.

References llvm::object::Record::get().

◆ getBindingAlgorithm()

void llvm::object::ESDRecord::getBindingAlgorithm ( const uint8_t * Record,
GOFF::ESDBindingAlgorithm & Algorithm )
inlinestatic

Definition at line 211 of file GOFF.h.

References llvm::object::Record::getBits().

◆ getBindingScope()

void llvm::object::ESDRecord::getBindingScope ( const uint8_t * Record,
GOFF::ESDBindingScope & Scope )
inlinestatic

Definition at line 265 of file GOFF.h.

References llvm::object::Record::getBits().

◆ getBindingStrength()

void llvm::object::ESDRecord::getBindingStrength ( const uint8_t * Record,
GOFF::ESDBindingStrength & Strength )
inlinestatic

Definition at line 245 of file GOFF.h.

References llvm::object::Record::getBits().

◆ getData()

Error ESDRecord::getData ( const uint8_t * Record,
SmallString< 256 > & CompleteData )
static

◆ getDuplicateSeverity()

void llvm::object::ESDRecord::getDuplicateSeverity ( const uint8_t * Record,
GOFF::ESDDuplicateSymbolSeverity & DSS )
inlinestatic

Definition at line 238 of file GOFF.h.

References llvm::object::Record::getBits().

◆ getEsdId()

void llvm::object::ESDRecord::getEsdId ( const uint8_t * Record,
uint32_t & EsdId )
inlinestatic

Definition at line 135 of file GOFF.h.

References llvm::object::Record::get().

Referenced by llvm::object::GOFFObjectFile::GOFFObjectFile().

◆ getExecutable()

void llvm::object::ESDRecord::getExecutable ( const uint8_t * Record,
GOFF::ESDExecutable & Executable )
inlinestatic

Definition at line 231 of file GOFF.h.

References llvm::object::Record::getBits().

◆ getFillBytePresent()

void llvm::object::ESDRecord::getFillBytePresent ( const uint8_t * Record,
bool & Present )
inlinestatic

Definition at line 157 of file GOFF.h.

References llvm::object::Record::getBits().

◆ getFillByteValue()

void llvm::object::ESDRecord::getFillByteValue ( const uint8_t * Record,
uint8_t & Fill )
inlinestatic

Definition at line 181 of file GOFF.h.

References llvm::object::Record::get().

◆ getIndirectReference()

void llvm::object::ESDRecord::getIndirectReference ( const uint8_t * Record,
bool & Indirect )
inlinestatic

Definition at line 259 of file GOFF.h.

References llvm::object::Record::getBits().

◆ getLength()

void llvm::object::ESDRecord::getLength ( const uint8_t * Record,
uint32_t & Length )
inlinestatic

Definition at line 147 of file GOFF.h.

References llvm::object::Record::get(), and llvm::Length.

Referenced by llvm::object::GOFFObjectFile::GOFFObjectFile().

◆ getLinkageType()

void llvm::object::ESDRecord::getLinkageType ( const uint8_t * Record,
GOFF::ESDLinkageType & Type )
inlinestatic

Definition at line 272 of file GOFF.h.

References llvm::object::Record::getBits().

◆ getLoadingBehavior()

void llvm::object::ESDRecord::getLoadingBehavior ( const uint8_t * Record,
GOFF::ESDLoadingBehavior & Behavior )
inlinestatic

◆ getNameLength()

uint16_t llvm::object::ESDRecord::getNameLength ( const uint8_t * Record)
inlinestatic

Definition at line 286 of file GOFF.h.

References llvm::object::Record::get(), and llvm::Length.

Referenced by getData().

◆ getNameMangled()

void llvm::object::ESDRecord::getNameMangled ( const uint8_t * Record,
bool & Mangled )
inlinestatic

Definition at line 163 of file GOFF.h.

References llvm::object::Record::getBits().

◆ getNameSpaceId()

void llvm::object::ESDRecord::getNameSpaceId ( const uint8_t * Record,
GOFF::ESDNameSpaceId & Id )
inlinestatic

Definition at line 151 of file GOFF.h.

References llvm::object::Record::get().

◆ getOffset()

void llvm::object::ESDRecord::getOffset ( const uint8_t * Record,
uint32_t & Offset )
inlinestatic

Definition at line 143 of file GOFF.h.

References llvm::object::Record::get(), and llvm::Offset.

◆ getParentEsdId()

void llvm::object::ESDRecord::getParentEsdId ( const uint8_t * Record,
uint32_t & EsdId )
inlinestatic

Definition at line 139 of file GOFF.h.

References llvm::object::Record::get().

Referenced by llvm::object::GOFFObjectFile::GOFFObjectFile().

◆ getReadOnly()

void llvm::object::ESDRecord::getReadOnly ( const uint8_t * Record,
bool & ReadOnly )
inlinestatic

Definition at line 225 of file GOFF.h.

References llvm::object::Record::getBits(), and llvm::ReadOnly.

◆ getRemovable()

void llvm::object::ESDRecord::getRemovable ( const uint8_t * Record,
bool & Removable )
inlinestatic

Definition at line 175 of file GOFF.h.

References llvm::object::Record::getBits().

◆ getRenamable()

void llvm::object::ESDRecord::getRenamable ( const uint8_t * Record,
bool & Renamable )
inlinestatic

Definition at line 169 of file GOFF.h.

References llvm::object::Record::getBits(), and llvm::Renamable.

◆ getRmode()

void llvm::object::ESDRecord::getRmode ( const uint8_t * Record,
GOFF::ESDRmode & Rmode )
inlinestatic

Definition at line 199 of file GOFF.h.

References llvm::object::Record::get().

◆ getSortPriority()

void llvm::object::ESDRecord::getSortPriority ( const uint8_t * Record,
uint32_t & Priority )
inlinestatic

Definition at line 189 of file GOFF.h.

References llvm::object::Record::get().

◆ getSymbolType()

void llvm::object::ESDRecord::getSymbolType ( const uint8_t * Record,
GOFF::ESDSymbolType & SymbolType )
inlinestatic

◆ getTaskingBehavior()

void llvm::object::ESDRecord::getTaskingBehavior ( const uint8_t * Record,
GOFF::ESDTaskingBehavior & TaskingBehavior )
inlinestatic

Definition at line 218 of file GOFF.h.

References llvm::object::Record::getBits().

◆ getTextStyle()

void llvm::object::ESDRecord::getTextStyle ( const uint8_t * Record,
GOFF::ESDTextStyle & Style )
inlinestatic

Definition at line 205 of file GOFF.h.

References llvm::object::Record::getBits().

Member Data Documentation

◆ ESDMaxUncontinuedNameLength

const uint8_t llvm::object::ESDRecord::ESDMaxUncontinuedNameLength = 8
static

Number of bytes for name; any more must go in continuation.

This is the number of bytes that can fit into the data field of an ESD record.

Definition at line 115 of file GOFF.h.

◆ MaxNameLength

const uint16_t llvm::object::ESDRecord::MaxNameLength = 32 * 1024
static

Maximum name length for ESD records and continuations.

This is the number of bytes that can fit into the data field of an ESD record AND following continuations. This is limited fundamentally by the 16 bit SIGNED length field.

Definition at line 121 of file GOFF.h.


The documentation for this class was generated from the following files: