[all-commits] [llvm/llvm-project] eed914: [DebugInfo] Skip both pointer and reference type p...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Jul 1 11:58:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eed914164009a03f584c2fed39bc5edb58d77763
      https://github.com/llvm/llvm-project/commit/eed914164009a03f584c2fed39bc5edb58d77763
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFTypePrinter.cpp
    A llvm/test/tools/llvm-dwarfdump/AArch64/template_ref_ptr.ll

  Log Message:
  -----------
  [DebugInfo] Skip both pointer and reference type parameters (#97094)

DWARFTypePrinter::appendTemplateParameters already skips pointer type
parameters but didn't account for reference type parameters. This would
result in tripping up the RawName assertion below. This updates the
check for both `DW_TAG_pointer_type` and `DW_TAG_reference_type`.

Thanks to Dave Blaikie for helping with the test.

rdar://130297520



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