Compiler-generated dynamic initializers and atexit destructors for global variables were missing DW_AT_linkage_name in their DWARF debug info. For CodeView targets, different template instantiations of the same variable all shared the same human-readable name, making them indistinguishable in the debug info. Set LinkageName to Fn->getName() if subprogram name does not match the mangled name.
261 KiB
261 KiB