DebugInfo: Use the signedness of the underlying enum when encoding enum non-type...
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 20 Sep 2021 04:03:20 +0000 (21:03 -0700)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 25 Sep 2021 00:02:55 +0000 (17:02 -0700)
commit5cb210862be45da1025fa8a9db4f52388340eade
treeac40d80e8155ca2ed013eef44ca4d85c53a11c6b
parentef764eeeb99a62f29d0a20c424328e7be2f5bfb8
DebugInfo: Use the signedness of the underlying enum when encoding enum non-type-template-parameters

This improves the accuracy of the debug info and improves round tripping
through -gsimple-template-names.
llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
llvm/test/DebugInfo/X86/template.ll