DWARF Simplified Template Names: Narrow down the handling for operator overloads
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 5 Nov 2021 22:28:23 +0000 (15:28 -0700)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 5 Nov 2021 22:41:56 +0000 (15:41 -0700)
commitf57d0e272652cc93596d5949a2e20b7b4604847c
treef5eaa276d79e7cf0860e28806c7be7c3083dab89
parentd24a0e88576dca1c475a7f48d4361136a46f9b72
DWARF Simplified Template Names: Narrow down the handling for operator overloads

Actually we can, for now, remove the explicit "operator" handling
entirely - since clang currently won't try to flag any of these as
rebuildable. That seems like a reasonable state for now, but it could be
narrowed down to only apply to conversion operators, most likely - but
would need more nuance for op> and op>> since they would be incorrectly
flagged as already having their template arguments (due to the trailing
'>').
cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp
llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
llvm/test/tools/llvm-dwarfdump/X86/simplified-template-names.s [new file with mode: 0644]