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

Chris B via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 19 11:43:55 PST 2025


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

What if rather than removing the test we just add a `REQUIRES: slow_tests` line, and have a CMake option to enable the "slow_tests" feature?

That would be a really small addition to the PR and would be really nice to not lose.

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


More information about the cfe-commits mailing list