[clang] [Clang] Fix segmentation fault caused by `VarBypassDetector` stack overflow on deeply nested expressions (PR #124128)
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 30 04:33:51 PST 2025
================
@@ -0,0 +1,30 @@
+// RUN: %clang_cc1 %s -emit-llvm -o - -Wstack-exhausted
----------------
ilya-biryukov wrote:
Flagging to remove this before merging since you say it's too slow.
(You've mentioned that in the description too)
PS we could probably add some build flag to optionally enable slow tests like this and set up a buildbot that runs them for all submitted changes.
It's not great, but better than nothing.
The suggestion is unrelated to this PR, just thinking out loud here.
https://github.com/llvm/llvm-project/pull/124128
More information about the cfe-commits
mailing list