SPRU513Y August 2001 – June 2022 SM320F28335-EP
Non-static function and variable prototypes (not definitions) will result in a .global directive being generated for each symbol found.
See Section 14.4.1 for C++ name mangling issues.
Function and variable definitions will result in a warning message being generated (see the WARN/NOWARN parameter discussion for where these warnings are created) for each, and they will not be represented in the converted assembly.
The assembly symbol representing the variable declarations will not contain type information about those symbols. Only a .global will be issued for them. Therefore, it is your responsibility to ensure the symbol is used appropriately.
See Section 14.3.13 for information on variables names which are of a structure/union type.