[PATCH] D132900: [DWARF] Fix infinite recursion in Type Printer.

Alexander Yermolovich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 19 17:34:51 PDT 2022


ayermolo added inline comments.


================
Comment at: llvm/lib/DebugInfo/DWARF/DWARFTypePrinter.cpp:534
     First = false;
     if (P.getTag() == DW_TAG_unspecified_parameters)
       OS << "...";
----------------
Maybe here is a better check? Something like D.getTag() == DW_TAG_subroutine_type, and also check T tag?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132900/new/

https://reviews.llvm.org/D132900



More information about the llvm-commits mailing list