[clang] [clang][Sema] Avoid out-of-memory crash on huge designated initializer indices (PR #205503)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 25 00:51:58 PDT 2026
ojhunt wrote:
@AaronBallman what is our usual approach to this kind of nonsense? (in the "behold I have made what is essentially a gigantic allocation at compiler time" nonsense, not that the report/fix is) Arbitrary constants seems not great, but also what other options does the clang and/or llvm infrastructure have to handle this?
https://github.com/llvm/llvm-project/pull/205503
More information about the cfe-commits
mailing list