[all-commits] [llvm/llvm-project] 9a1544: [DWARF DUMP] Fix infinite recursion in Type Printer.

Alexander Yermolovich via All-commits all-commits at lists.llvm.org
Mon Sep 26 16:25:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a1544277e8a9336c98fe8e1f3d6fdde9d2f2bcf
      https://github.com/llvm/llvm-project/commit/9a1544277e8a9336c98fe8e1f3d6fdde9d2f2bcf
  Author: Alex Yermolovich <ayermolo at fb.com>
  Date:   2022-09-26 (Mon, 26 Sep 2022)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFTypePrinter.cpp
    A llvm/test/DebugInfo/X86/dwarfdump-infinite-loop.s

  Log Message:
  -----------
  [DWARF DUMP] Fix infinite recursion in Type Printer.

There is an implicit circular dependency in a debug information coming from GCC.
This results in a coredump.
It tries to resolve scope for DIE TAGs that are scopeless.

Reviewed By: dblaikie

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




More information about the All-commits mailing list