]> granicus.if.org Git - clang/commitdiff
Disable stack exhaustion test on NetBSD, where either the detection or
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 3 Sep 2019 18:00:44 +0000 (18:00 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 3 Sep 2019 18:00:44 +0000 (18:00 +0000)
recovery mechanism does not appear to work.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370801 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaTemplate/stack-exhaustion.cpp

index 2ee518d37fefec308ede83397c9f2d034875f3ca..7f76212d2a49235a0d65cd19a25ab7cc3b9a64b5 100644 (file)
@@ -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+{{}}