PPL Logo

CtgGlobalList Class Reference

Keeps a list of global variables. More...

Collaboration diagram for CtgGlobalList:

Collaboration graph
[legend]

Public Member Functions

 CtgGlobalList ()
 Analyze the current set of global variables, determine which are user globals and which are system globals, and store the list of user globals.
size_t getSize (void) const
 Return the number of bytes needed to store our global data.
void read (void *datav) const
 Copy the current set of global data into this set, which must be getSize() bytes.
void install (void *datav) const
 Point at this set of global data (must be getSize() bytes).

Private Member Functions

int isUserSymbol (const char *name)

Private Attributes

size_t datalen
 Number of bytes in the table of global data.
std::vector< CtgRecrec

Data Structures

struct  CtgRec

Detailed Description

Keeps a list of global variables.

Definition at line 151 of file global-elfgot.C.


Constructor & Destructor Documentation

CtgGlobalList::CtgGlobalList (  ) 

Analyze the current set of global variables, determine which are user globals and which are system globals, and store the list of user globals.

Definition at line 262 of file global-elfgot.C.

References _DYNAMIC, CmiAbort(), CmiGetPageSize(), count, datalen, isUserSymbol(), rec, size, size_t, and type.

Here is the call graph for this function:


Member Function Documentation

size_t CtgGlobalList::getSize ( void   )  const [inline]

Return the number of bytes needed to store our global data.

Definition at line 170 of file global-elfgot.C.

References datalen.

Referenced by CtgCreate(), CtgInit(), and CtgPup().

Here is the caller graph for this function:

void CtgGlobalList::read ( void *  datav  )  const

Copy the current set of global data into this set, which must be getSize() bytes.

Definition at line 242 of file global-elfgot.C.

References data, datalen, rec, and size.

Referenced by CtgCreate(), and CtgInit().

Here is the caller graph for this function:

void CtgGlobalList::install ( void *  datav  )  const [inline]

Point at this set of global data (must be getSize() bytes).

Definition at line 177 of file global-elfgot.C.

References data, and rec.

Referenced by CtgInit(), and CtgInstall().

Here is the caller graph for this function:

int CtgGlobalList::isUserSymbol ( const char *  name  )  [private]

if the name is on the blacklist, it is not a user symbol

Definition at line 214 of file global-elfgot.C.

References _blacklist, and match().

Referenced by CtgGlobalList().

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

Number of bytes in the table of global data.

Definition at line 153 of file global-elfgot.C.

Referenced by CtgGlobalList(), getSize(), and read().

std::vector<CtgRec> CtgGlobalList::rec [private]

Definition at line 160 of file global-elfgot.C.

Referenced by CtgGlobalList(), install(), and read().


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

Generated on Mon Sep 21 08:22:28 2020 for Charm++ by  doxygen 1.5.5