[all-commits] [llvm/llvm-project] 375494: [dsymutil] Fix template stripping in getDIENames(....

Shafik Yaghmour via All-commits all-commits at lists.llvm.org
Wed Mar 4 14:55:16 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 37549464c13e5f059925b9d8be1ea8e87711537e
      https://github.com/llvm/llvm-project/commit/37549464c13e5f059925b9d8be1ea8e87711537e
  Author: shafik <syaghmour at apple.com>
  Date:   2020-03-04 (Wed, 04 Mar 2020)

  Changed paths:
    M llvm/lib/DWARFLinker/DWARFLinker.cpp
    A llvm/test/tools/dsymutil/Inputs/private/tmp/templated_operators/template_operators
    A llvm/test/tools/dsymutil/Inputs/private/tmp/templated_operators/template_operators.o
    A llvm/test/tools/dsymutil/X86/template_operators.test

  Log Message:
  -----------
  [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




More information about the All-commits mailing list