DebugInfo: Move the '=' version of -gsimple-template-names to the frontend
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 24 Sep 2021 18:15:53 +0000 (11:15 -0700)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 24 Sep 2021 18:18:10 +0000 (11:18 -0700)
commit8ec7d9b8f875368a5f92596332cd05059df6bbd2
tree626a3d2874cfcb08494df5f34e95c6f9524f168b
parentac51ad24a75c02152f8ece943d65de9a1c4e947a
DebugInfo: Move the '=' version of -gsimple-template-names to the frontend

Based on feedback from Paul Robinson on 38c09ea that the 'mangled' mode
is only useful as an LLVM-developer-internal tool in combination with
llvm-dwarfdump --verify, so demote that to a frontend-only (not driver)
option. The driver support is simply -g{no-,}simple-template-names to
switch on simple template names, without the option to use the mangled
template name scheme there.
clang/include/clang/Driver/Options.td
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/Driver/debug-options.c