A Ddpi_Variable object contains information
about a global variable, including global static variables and static
members. If this variable is in more than one compilation unit, there
will be a separate Ddpi_Variable object for each
unit.
The ddpi_variable_get_full_name operation
returns the fully qualified name (which is prefixed with the C++ class
name, if applicable) of the variable. The actual version of the name
is returned, not a copy. The user must never deallocate the returned
pointer.
The ddpi_variable_get_short_name operation
returns the unqualified name (which is not prefixed with a C++ class
name) of the variable. The actual version of the name is returned,
not a copy. The user must never deallocate the returned pointer.
The ddpi_variable_get_access operation returns
the Ddpi_Access object whose Dwarf_Debug object
contains the variable instance. The actual Ddpi_Access object
is returned, not a copy. The user must never deallocate the returned pointer.