[all-commits] [llvm/llvm-project] 542083: [demangler] Fix demangling a template argument whi...

gbreynoo via All-commits all-commits at lists.llvm.org
Thu Apr 28 08:00:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5420834aadbd271b3773f53fbbd58e9437952616
      https://github.com/llvm/llvm-project/commit/5420834aadbd271b3773f53fbbd58e9437952616
  Author: gbreynoo <Owen.Reynolds at sony.com>
  Date:   2022-04-28 (Thu, 28 Apr 2022)

  Changed paths:
    M libcxxabi/src/demangle/ItaniumDemangle.h
    M libcxxabi/test/test_demangle.pass.cpp
    M llvm/include/llvm/Demangle/ItaniumDemangle.h

  Log Message:
  -----------
  [demangler] Fix demangling a template argument which happens to be a null pointer

As seen in https://github.com/llvm/llvm-project/issues/51854
llvm-cxxfilt was having trouble demangling the case "_Z1fIDnLDn0EEvv".
We handled the "LDNE" case and "LPi0E" but not "LDn0E". This change adds
that handling.

Differential Revision: https://reviews.llvm.org/D124010




More information about the All-commits mailing list