[llvm] [Verifier] Reject cyclic DIScope parent chains (PR #217997)

Diego Novillo via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 25 11:59:04 PDT 2026


================

----------------
dnovillo wrote:

Won't this still hang because of the direct call to `getSubprogram()`? Should this be `getSubprogram(RetainedNodeScope)`? It will need a test too. Something where `retainedNodes` references a `DILocalVariable`.

https://github.com/llvm/llvm-project/pull/217997


More information about the llvm-commits mailing list