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

Ilya Biryukov via cfe-commits cfe-commits at lists.llvm.org
Wed May 29 14:01:54 PDT 2024


ilya-biryukov wrote:

> there's a couple of tests that use `ulimit` (`clang/test/SemaCXX/PR51712-large-array-constexpr-check-oom.cpp` and `clang/test/PCH/leakfiles.test`) - so that technique could be used to test this in a way that's fast enough to check in?

oh, I didn't realize I can use `ulimit` in tests, thanks! I will try it out next week.

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


More information about the cfe-commits mailing list