CLRX  1
An unofficial OpenCL extensions designed for Radeon GPUs
Public Member Functions | Public Attributes | List of all members
CLRX::ElfSymbolTemplate< Types > Struct Template Reference

ELF symbol template. More...

#include <ElfBinaries.h>

Public Member Functions

 ElfSymbolTemplate (const char *_name, uint16_t _sectionIndex, cxbyte _info, cxbyte _other, bool _valueIsAddr, typename Types::Word _value, typename Types::Word _size)
 constructor (to replace initializer list construction)
 
 ElfSymbolTemplate (const BinSymbol &binSymbol, const uint16_t *builtinSections, cxuint maxBuiltinSection, cxuint startExtraIndex)
 constructor for extra symbol More...
 

Public Attributes

const char * name
 name
 
uint16_t sectionIndex
 section index for which symbol is
 
cxbyte info
 info
 
cxbyte other
 other
 
bool valueIsAddr
 true if value should be treats as address
 
Types::Word value
 symbol value
 
Types::Word size
 symbol size
 

Detailed Description

template<typename Types>
struct CLRX::ElfSymbolTemplate< Types >

ELF symbol template.

Constructor & Destructor Documentation

template<typename Types>
CLRX::ElfSymbolTemplate< Types >::ElfSymbolTemplate ( const BinSymbol binSymbol,
const uint16_t *  builtinSections,
cxuint  maxBuiltinSection,
cxuint  startExtraIndex 
)
inline

constructor for extra symbol

Parameters
binSymbolexternal symbol
builtinSectionsELF section indices for builtin sections
maxBuiltinSectionmaximal id of builtin section (as ELFSECTID_STD_MAX)
startExtraIndexfirst ELF section id for extra section

The documentation for this struct was generated from the following file: