[llvm] [llvm-debuginfo-analyzer] Add support for DW_AT_GNU_template_name. (PR #115724)

Carlos Alberto Enciso via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 12 01:07:17 PST 2024


CarlosAlbertoEnciso wrote:

**Note**: the '--attribute=encoded' option collects the template arguments and it is used for toolchains that have the ability to omit the template arguments from the template name.
For those toolchains:
```
{Class} 'Foo<int>'    -->    {Class} 'Foo' 
  {Encoded} <int>              {Encoded} <int>
{Class} 'Bar<Foo>'           {Class} 'Bar'
  {Encoded} <Foo>              {Encoded} <Foo>
{Class} 'Baz<Bar>'           {Class} 'Baz'
  {Encoded} <Bar>              {Encoded} <Bar>
```

https://github.com/llvm/llvm-project/pull/115724


More information about the llvm-commits mailing list