https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86736
--- Comment #10 from Iain Sandoe <iains at gcc dot gnu.org> --- dunno if this is helpful... frame #4: 0x00000001007b4288 lto1`::add_pubtype(decl=0x0000000144625f18, die=0x0000000144627f50) at dwarf2out.c:11333 11330 scope = TYPE_P (decl) ? TYPE_CONTEXT (decl) : NULL; 11331 if (scope && TREE_CODE (scope) == NAMESPACE_DECL) 11332 { -> 11333 scope_name = lang_hooks.dwarf_name (scope, 1); 11334 if (scope_name != NULL && scope_name[0] != '\0') 11335 scope_name = concat (scope_name, sep, NULL); 11336 else (lldb) p (void)debug_tree(decl) <record_type 0x144625f18 SomeRandomType asm_written QI size <integer_cst 0x144402cc0 type <integer_type 0x1444170a8 bitsizetype> constant 8> unit-size <integer_cst 0x144402cd8 type <integer_type 0x144417000 sizetype> constant 1> align:8 warn_if_not_align:0 symtab:1147305808 alias-set -1 canonical-type 0x144625f18 context <namespace_decl 0x1446212f8 D.4634>> (lldb) p (void)debug_tree((tree) 0x1446212f8) <namespace_decl 0x1446212f8 D.4634 type <void_type 0x14441e0a8 void VOID align:8 warn_if_not_align:0 symtab:0 alias-set -1 structural-equality pointer_to_this <pointer_type 0x14441e150>> VOID /src/gcc-trunk/gcc/testsuite/g++.dg/asan/pr78651.C:7:1 align:1 warn_if_not_align:0 context <translation_unit_decl 0x14440c1e0 /src/gcc-trunk/gcc/testsuite/g++.dg/asan/pr78651.C>>