Skip to content

StructLayoutEntry

Synopsis

Declared in <SageIII/sageInterface/abiStuff.h>

struct StructLayoutEntry;

Member Functions

Name
StructLayoutEntry
StructLayoutEntry( SgNode* decl, size_t byteOffset, size_t fieldSize, size_t bitFieldContainerSize = 0, size_t bitOffset = 0); [constructor]

Data Members

Name Description
bitFieldContainerSize The size of the containing element for this bit field (in bytes)
bitOffset Offset of LSB of bit field within element of size bitFieldContainerSize starting at position byteOffset in the struct
byteOffset The byte offset of this field (or its containing word for bit fields) in the structure
decl If a SgInitializedName, the field represented by this entry If a SgClassDeclaration, the anonymous union represented by this entry If a SgBaseClass, the base class represented by this entry If NULL, this entry is padding
fieldSize The size of the field or padding

Created with MrDocs