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

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 29 18:05:18 PST 2024


ChuanqiXu9 wrote:

Another idea is to limit (or check) the threshold for `ASTReader::NumCurrentElementsDeserializing`. Then we still can print the stack trace by some utils in LLVM also we can get better performance than this. 

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


More information about the cfe-commits mailing list