[all-commits] [llvm/llvm-project] 9e0d8a: [LLDB] Detect cycles during Type resolution (#200304)

Adrian Prantl via All-commits all-commits at lists.llvm.org
Mon Jun 1 09:19:39 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e0d8a65db700435bda0ca8d63dadb07e6e18370
      https://github.com/llvm/llvm-project/commit/9e0d8a65db700435bda0ca8d63dadb07e6e18370
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2026-06-01 (Mon, 01 Jun 2026)

  Changed paths:
    M lldb/include/lldb/Symbol/Type.h
    M lldb/source/Symbol/Type.cpp
    M lldb/unittests/Symbol/TestType.cpp

  Log Message:
  -----------
  [LLDB] Detect cycles during Type resolution (#200304)

I got LLDB crash reports from the Swift plugin where (presumably
malformed) debug info sends lldb_private::Type into an infite recursion.
Most likely this is a bug in the DWARF parser, however, even malformed
inputs shouldn't crash LLDB so this patch adds cycle detection.

rdar://177856769

Assisted-by: claude



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