Type Names for Debug Info.
- Compute the name of the type as it should be stored in debuginfo. Does not do any caching, i.e., calling the function twice with the same type will also do the work twice. The
qualifiedparameter only affects the first level of the type name, further levels (i.e., type parameters) are always fully qualified.
- Computes a name for the global variable storing a vtable (or the type of that global variable).
- Check if we should generate C++ like names and debug information.