6.2 Name mangling

Contrary to most C compilers and assemblers, all labels generated to pascal variables and routines have mangled names4. This is done so that the compiler can do stronger type checking when parsing the Pascal code. It also permits function and procedure overloading.

  6.2.1 Mangled names for data blocks
  6.2.2 Mangled names for code blocks
  6.2.3 Modifying the mangled names

4This can be avoided by using the alias or cdecl modifiers