r370801 - Disable stack exhaustion test on NetBSD, where either the detection or

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 3 11:00:44 PDT 2019


Author: rsmith
Date: Tue Sep  3 11:00:44 2019
New Revision: 370801

URL: http://llvm.org/viewvc/llvm-project?rev=370801&view=rev
Log:
Disable stack exhaustion test on NetBSD, where either the detection or
recovery mechanism does not appear to work.

Modified:
    cfe/trunk/test/SemaTemplate/stack-exhaustion.cpp

Modified: cfe/trunk/test/SemaTemplate/stack-exhaustion.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/stack-exhaustion.cpp?rev=370801&r1=370800&r2=370801&view=diff
==============================================================================
--- cfe/trunk/test/SemaTemplate/stack-exhaustion.cpp (original)
+++ cfe/trunk/test/SemaTemplate/stack-exhaustion.cpp Tue Sep  3 11:00:44 2019
@@ -1,6 +1,11 @@
 // RUN: %clang_cc1 -verify %s
 // REQUIRES: thread_support
 
+// FIXME: Detection of, or recovery from, stack exhaustion does not work on
+// NetBSD at the moment. Since this is a best-effort mitigation for exceeding
+// implementation limits, just disable the test.
+// UNSUPPORTED: system-netbsd
+
 // expected-warning@* 0-1{{stack nearly exhausted}}
 // expected-note@* 0+{{}}
 




More information about the cfe-commits mailing list