Adds user-defined, nonexternal names that have a persistent storage class, such as initialized and uninitialized static variables, to the name list (the symbol table of objects).
The default is to not add static variables to the symbol table. However, static functions are added to the symbol table.
To compile myprogram.C so that static symbols are added to the symbol table, enter:
xlc++ myprogram.C -qstatsym