[all-commits] [llvm/llvm-project] 87ec4a: [Clang] Fall back to DW_TAG_typedef for instantiat...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Thu Apr 25 02:34:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87ec4ab72cb3ae27ac08d040b2825ee01214fe75
      https://github.com/llvm/llvm-project/commit/87ec4ab72cb3ae27ac08d040b2825ee01214fe75
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2024-04-25 (Thu, 25 Apr 2024)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    A clang/test/CodeGenCXX/dependent-template-alias.cpp

  Log Message:
  -----------
  [Clang] Fall back to DW_TAG_typedef for instantiation dependent template aliases (#90032)

Workaround for issue #89774 until it can be properly fixed.

When `-gtemplate-alias` is specified Clang emits a DW_TAG_template_alias
for template aliases. This patch avoids an assertion failure by falling
back to the `-gno-template-alias` (default) behaviour, emitting a
DW_TAG_typedef, if the alias is instantiation dependent.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list