[dsymutil] Fix template stripping in getDIENames(...) to account for overloaded operators
Currently dsymutil when generating accelerator tables will attempt to strip the template parameters from names for subroutines. For some overload operators which contain < in their names e.g. operator< the current method ends up stripping the operator name as well, we just end up with the name operator in the table for each case. Differential Revision: https://reviews.llvm.org/D75545
Showing
- llvm/lib/DWARFLinker/DWARFLinker.cpp 34 additions, 4 deletionsllvm/lib/DWARFLinker/DWARFLinker.cpp
- llvm/test/tools/dsymutil/Inputs/private/tmp/templated_operators/template_operators 0 additions, 0 deletions...Inputs/private/tmp/templated_operators/template_operators
- llvm/test/tools/dsymutil/Inputs/private/tmp/templated_operators/template_operators.o 0 additions, 0 deletions...puts/private/tmp/templated_operators/template_operators.o
- llvm/test/tools/dsymutil/X86/template_operators.test 62 additions, 0 deletionsllvm/test/tools/dsymutil/X86/template_operators.test
Loading
Please register or sign in to comment