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

recovery mechanism does not appear to work.

llvm-svn: 370801
This commit is contained in:
Richard Smith 2019-09-03 18:00:44 +00:00
parent 5289bbe4d4
commit 03c13e5718
1 changed files with 5 additions and 0 deletions

View 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+{{}}