[all-commits] [llvm/llvm-project] dc58cd: PR48169: Fix crash generating debug info for class...

Richard Smith via All-commits all-commits at lists.llvm.org
Sun Nov 15 17:43:47 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: dc58cd1480374a6d5dbf87e8a2424811c0003ce3
      https://github.com/llvm/llvm-project/commit/dc58cd1480374a6d5dbf87e8a2424811c0003ce3
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-11-15 (Sun, 15 Nov 2020)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/test/CodeGenCXX/debug-info-template.cpp

  Log Message:
  -----------
  PR48169: Fix crash generating debug info for class non-type template
parameters.

It appears that LLVM isn't able to generate a DW_AT_const_value for a
constant of class type, but if it could, we'd match GCC's debug info in
this case, and in the interim we no longer crash.




More information about the All-commits mailing list