[Lldb-commits] [PATCH] D69309: Support template instantiation in the expression evaluator

Jaroslav Sevcik via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 23 02:03:12 PST 2020

jarin added a comment.

> FWIW, the Sony debugger throws away the `<type>` part of the DW_AT_name and reconstructs it from the template_parameter children.  The presence of typedefs and/or enums can make the `<type>` text inconsistent, especially across enums.  Our debugger reconstructs the type-parameters because it's more consistent that way.

We have not seen any problems yet, but it does make sense to protect ourselves against different compilers. (I am not quite sure when I'll get back to this patch again as the current version has been good enough for our branch so far.)



More information about the lldb-commits mailing list