[Lldb-commits] [PATCH] D126668: LLDB: Fix resolving nested template parameters

David Blaikie via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 3 13:26:06 PDT 2022


dblaikie added a comment.

FWIW, clang has support for including template parameter DIEs for template declarations (-Xclang -debug-forward-template-params). We could enable that by default when tuning for lldb (or maybe we're at the tipping point and we should enable it by default in general - I pushed back on that originally when Sony folks added/proposed it, under the argument that other debuggers didn't need this info - but if they do need the info, so be it)

That feature is also turned on by default in `-gsimple-template-names` which we're currently working on adding support to lldb for - so ensuring that lldb does the best things when declarations do have template parameters would be good. So not filtering based on declaration, but I guess based on "<>" in the name and the presenec/absence of template parameter DIEs as the patch does currently?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126668/new/

https://reviews.llvm.org/D126668



More information about the lldb-commits mailing list