Unverified Commit 3315f0a2 authored by Ilya Biryukov's avatar Ilya Biryukov Committed by GitHub
Browse files

[Serialization] Check for stack exhaustion when reading declarations (#79875)

Particular example that lead to this is a very long chain of
`UsingShadowDecl`s that we hit in our codebase in generated code.

To avoid that, check for stack exhaustion when deserializing the
declaration. At that point, we can point to source location of a
particular declaration that is being deserialized.
parent b41dbe60
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment