LLVM 20.0.0git
Enumerations | Variables
llvm::GOFF Namespace Reference

Enumerations

enum  RecordType : uint8_t {
  RT_ESD = 0 , RT_TXT = 1 , RT_RLD = 2 , RT_LEN = 3 ,
  RT_END = 4 , RT_HDR = 15
}
 
enum  ESDSymbolType : uint8_t {
  ESD_ST_SectionDefinition = 0 , ESD_ST_ElementDefinition = 1 , ESD_ST_LabelDefinition = 2 , ESD_ST_PartReference = 3 ,
  ESD_ST_ExternalReference = 4
}
 
enum  ESDNameSpaceId : uint8_t { ESD_NS_ProgramManagementBinder = 0 , ESD_NS_NormalName = 1 , ESD_NS_PseudoRegister = 2 , ESD_NS_Parts = 3 }
 
enum  ESDReserveQwords : uint8_t { ESD_RQ_0 = 0 , ESD_RQ_1 = 1 , ESD_RQ_2 = 2 , ESD_RQ_3 = 3 }
 
enum  ESDAmode : uint8_t {
  ESD_AMODE_None = 0 , ESD_AMODE_24 = 1 , ESD_AMODE_31 = 2 , ESD_AMODE_ANY = 3 ,
  ESD_AMODE_64 = 4 , ESD_AMODE_MIN = 16
}
 
enum  ESDRmode : uint8_t { ESD_RMODE_None = 0 , ESD_RMODE_24 = 1 , ESD_RMODE_31 = 3 , ESD_RMODE_64 = 4 }
 
enum  ESDTextStyle : uint8_t { ESD_TS_ByteOriented = 0 , ESD_TS_Structured = 1 , ESD_TS_Unstructured = 2 }
 
enum  ESDBindingAlgorithm : uint8_t { ESD_BA_Concatenate = 0 , ESD_BA_Merge = 1 }
 
enum  ESDTaskingBehavior : uint8_t { ESD_TA_Unspecified = 0 , ESD_TA_NonReus = 1 , ESD_TA_Reus = 2 , ESD_TA_Rent = 3 }
 
enum  ESDExecutable : uint8_t { ESD_EXE_Unspecified = 0 , ESD_EXE_DATA = 1 , ESD_EXE_CODE = 2 }
 
enum  ESDDuplicateSymbolSeverity : uint8_t { ESD_DSS_NoWarning = 0 , ESD_DSS_Warning = 1 , ESD_DSS_Error = 2 , ESD_DSS_Reserved = 3 }
 
enum  ESDBindingStrength : uint8_t { ESD_BST_Strong = 0 , ESD_BST_Weak = 1 }
 
enum  ESDLoadingBehavior : uint8_t { ESD_LB_Initial = 0 , ESD_LB_Deferred = 1 , ESD_LB_NoLoad = 2 , ESD_LB_Reserved = 3 }
 
enum  ESDBindingScope : uint8_t {
  ESD_BSC_Unspecified = 0 , ESD_BSC_Section = 1 , ESD_BSC_Module = 2 , ESD_BSC_Library = 3 ,
  ESD_BSC_ImportExport = 4
}
 
enum  ESDLinkageType : uint8_t { ESD_LT_OS = 0 , ESD_LT_XPLink = 1 }
 
enum  ESDAlignment : uint8_t {
  ESD_ALIGN_Byte = 0 , ESD_ALIGN_Halfword = 1 , ESD_ALIGN_Fullword = 2 , ESD_ALIGN_Doubleword = 3 ,
  ESD_ALIGN_Quadword = 4 , ESD_ALIGN_32byte = 5 , ESD_ALIGN_64byte = 6 , ESD_ALIGN_128byte = 7 ,
  ESD_ALIGN_256byte = 8 , ESD_ALIGN_512byte = 9 , ESD_ALIGN_1024byte = 10 , ESD_ALIGN_2Kpage = 11 ,
  ESD_ALIGN_4Kpage = 12
}
 
enum  ENDEntryPointRequest : uint8_t { END_EPR_None = 0 , END_EPR_EsdidOffset = 1 , END_EPR_ExternalName = 2 , END_EPR_Reserved = 3 }
 
enum  SubsectionKind : uint8_t { SK_PPA1 = 2 , SK_PPA2 = 4 }
 

Variables

constexpr uint8_t RecordLength = 80
 Length of the parts of a physical GOFF record.
 
constexpr uint8_t RecordPrefixLength = 3
 
constexpr uint8_t PayloadLength = 77
 
constexpr uint8_t RecordContentLength = RecordLength - RecordPrefixLength
 
constexpr uint16_t MaxDataLength = 32 * 1024 - 1
 Maximum data length before starting a new card for RLD and TXT data.
 
constexpr uint8_t PTVPrefix = 0x03
 Prefix byte on every record. This indicates GOFF format.
 

Enumeration Type Documentation

◆ ENDEntryPointRequest

Enumerator
END_EPR_None 
END_EPR_EsdidOffset 
END_EPR_ExternalName 
END_EPR_Reserved 

Definition at line 160 of file GOFF.h.

◆ ESDAlignment

enum llvm::GOFF::ESDAlignment : uint8_t
Enumerator
ESD_ALIGN_Byte 
ESD_ALIGN_Halfword 
ESD_ALIGN_Fullword 
ESD_ALIGN_Doubleword 
ESD_ALIGN_Quadword 
ESD_ALIGN_32byte 
ESD_ALIGN_64byte 
ESD_ALIGN_128byte 
ESD_ALIGN_256byte 
ESD_ALIGN_512byte 
ESD_ALIGN_1024byte 
ESD_ALIGN_2Kpage 
ESD_ALIGN_4Kpage 

Definition at line 144 of file GOFF.h.

◆ ESDAmode

enum llvm::GOFF::ESDAmode : uint8_t
Enumerator
ESD_AMODE_None 
ESD_AMODE_24 
ESD_AMODE_31 
ESD_AMODE_ANY 
ESD_AMODE_64 
ESD_AMODE_MIN 

Definition at line 75 of file GOFF.h.

◆ ESDBindingAlgorithm

Enumerator
ESD_BA_Concatenate 
ESD_BA_Merge 

Definition at line 97 of file GOFF.h.

◆ ESDBindingScope

Enumerator
ESD_BSC_Unspecified 
ESD_BSC_Section 
ESD_BSC_Module 
ESD_BSC_Library 
ESD_BSC_ImportExport 

Definition at line 134 of file GOFF.h.

◆ ESDBindingStrength

Enumerator
ESD_BST_Strong 
ESD_BST_Weak 

Definition at line 122 of file GOFF.h.

◆ ESDDuplicateSymbolSeverity

Enumerator
ESD_DSS_NoWarning 
ESD_DSS_Warning 
ESD_DSS_Error 
ESD_DSS_Reserved 

Definition at line 115 of file GOFF.h.

◆ ESDExecutable

enum llvm::GOFF::ESDExecutable : uint8_t
Enumerator
ESD_EXE_Unspecified 
ESD_EXE_DATA 
ESD_EXE_CODE 

Definition at line 109 of file GOFF.h.

◆ ESDLinkageType

Enumerator
ESD_LT_OS 
ESD_LT_XPLink 

Definition at line 142 of file GOFF.h.

◆ ESDLoadingBehavior

Enumerator
ESD_LB_Initial 
ESD_LB_Deferred 
ESD_LB_NoLoad 
ESD_LB_Reserved 

Definition at line 127 of file GOFF.h.

◆ ESDNameSpaceId

Enumerator
ESD_NS_ProgramManagementBinder 
ESD_NS_NormalName 
ESD_NS_PseudoRegister 
ESD_NS_Parts 

Definition at line 61 of file GOFF.h.

◆ ESDReserveQwords

Enumerator
ESD_RQ_0 
ESD_RQ_1 
ESD_RQ_2 
ESD_RQ_3 

Definition at line 68 of file GOFF.h.

◆ ESDRmode

enum llvm::GOFF::ESDRmode : uint8_t
Enumerator
ESD_RMODE_None 
ESD_RMODE_24 
ESD_RMODE_31 
ESD_RMODE_64 

Definition at line 84 of file GOFF.h.

◆ ESDSymbolType

enum llvm::GOFF::ESDSymbolType : uint8_t
Enumerator
ESD_ST_SectionDefinition 
ESD_ST_ElementDefinition 
ESD_ST_LabelDefinition 
ESD_ST_PartReference 
ESD_ST_ExternalReference 

Definition at line 53 of file GOFF.h.

◆ ESDTaskingBehavior

Enumerator
ESD_TA_Unspecified 
ESD_TA_NonReus 
ESD_TA_Reus 
ESD_TA_Rent 

Definition at line 102 of file GOFF.h.

◆ ESDTextStyle

enum llvm::GOFF::ESDTextStyle : uint8_t
Enumerator
ESD_TS_ByteOriented 
ESD_TS_Structured 
ESD_TS_Unstructured 

Definition at line 91 of file GOFF.h.

◆ RecordType

enum llvm::GOFF::RecordType : uint8_t
Enumerator
RT_ESD 
RT_TXT 
RT_RLD 
RT_LEN 
RT_END 
RT_HDR 

Definition at line 44 of file GOFF.h.

◆ SubsectionKind

Enumerator
SK_PPA1 
SK_PPA2 

Definition at line 168 of file GOFF.h.

Variable Documentation

◆ MaxDataLength

constexpr uint16_t llvm::GOFF::MaxDataLength = 32 * 1024 - 1
constexpr

Maximum data length before starting a new card for RLD and TXT data.

The maximum number of bytes that can be included in an RLD or TXT record and their continuations is a SIGNED 16 bit int despite what the spec says. The number of bytes we allow ourselves to attach to a card is thus arbitrarily limited to 32K-1 bytes.

Definition at line 39 of file GOFF.h.

◆ PayloadLength

constexpr uint8_t llvm::GOFF::PayloadLength = 77
constexpr

Definition at line 30 of file GOFF.h.

Referenced by llvm::object::Record::getContinuousData().

◆ PTVPrefix

constexpr uint8_t llvm::GOFF::PTVPrefix = 0x03
constexpr

Prefix byte on every record. This indicates GOFF format.

Definition at line 42 of file GOFF.h.

◆ RecordContentLength

constexpr uint8_t llvm::GOFF::RecordContentLength = RecordLength - RecordPrefixLength
constexpr

Definition at line 31 of file GOFF.h.

◆ RecordLength

constexpr uint8_t llvm::GOFF::RecordLength = 80
constexpr

◆ RecordPrefixLength

constexpr uint8_t llvm::GOFF::RecordPrefixLength = 3
constexpr

Definition at line 29 of file GOFF.h.

Referenced by llvm::object::Record::getContinuousData().