[clang] [Clang] Fix segmentation fault caused by `VarBypassDetector` stack overflow on deeply nested expressions (PR #124128)

Boaz Brickner via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 20 04:14:18 PST 2025


================
@@ -0,0 +1,30 @@
+// RUN: %clang_cc1 %s -emit-llvm -o - -Wstack-exhausted
----------------
bricknerb wrote:

I believe one of @cor3ntin concerns in #111701 was flakiness, not just speed.
I'm happy to try and add that option if there are no objections.

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


More information about the cfe-commits mailing list