[clang] [clang] Fix high memory consumption during pack deduction (PR #88637)

via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 13 21:39:49 PDT 2024


Sirraide wrote:

> I can supply the exact code that causes this issue if needed, but I would appreciate if you frends can point me to any tools that can generate an obfuscated minimal reproducible example.

There’s `creduce` and `cvise` from what I recall, but I’m not particularly good at using them. Depending on how much work that would be, you could try doing ‘binary search’ manually (i.e. delete half the code, see if it compiles; if it does, the problem is in the other half). Seeing as it does seem to have something to do w/ template deduction in variadic templates, that might help narrow it down a bit.

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


More information about the cfe-commits mailing list