diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2023-01-21 02:07:24 +0000 |
---|---|---|
committer | Michael Buch <michaelbuch12@gmail.com> | 2023-01-23 09:43:17 +0000 |
commit | bee8860525acbfe33f5b32870ad5e13de07fa6ff (patch) | |
tree | bb054aacd3fa8edf82e635f869c9809a1f9dc598 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | d54ae905d13ed56ab8f4ce0147eb92801684f0f3 (diff) | |
download | llvm-bee8860525acbfe33f5b32870ad5e13de07fa6ff.zip llvm-bee8860525acbfe33f5b32870ad5e13de07fa6ff.tar.gz llvm-bee8860525acbfe33f5b32870ad5e13de07fa6ff.tar.bz2 |
[clang][DebugInfo] Don't canonicalize names in template argument list for alias templates
**Summary**
This patch customizes the `CGDebugInfo` printing policy to stop canonicalizing
the template arugment list in `DW_AT_name` for alias templates. The motivation for
this is that we want to be able to use the `TypePrinter`s support for
omitting defaulted template arguments when emitting `DW_AT_name`.
For reference, GCC currently completely omits the template arguments
when emitting alias template DIEs.
**Testing**
* Added unit-test
Differential Revision: https://reviews.llvm.org/D142268
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions