[PATCH] D71419: [clang] [test] Disable the test exhausting stack on NetBSD

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 12 06:27:10 PST 2019


mgorny created this revision.
mgorny added reviewers: krytarowski, rsmith, compnerd, phosek.

Disable the instantiation-depth-default.cpp test on NetBSD since it
requires more stack space than we have by default on NetBSD.


https://reviews.llvm.org/D71419

Files:
  clang/test/SemaTemplate/instantiation-depth-default.cpp


Index: clang/test/SemaTemplate/instantiation-depth-default.cpp
===================================================================
--- clang/test/SemaTemplate/instantiation-depth-default.cpp
+++ clang/test/SemaTemplate/instantiation-depth-default.cpp
@@ -4,6 +4,9 @@
 // increases our per-frame stack usage enough that this test no longer fits
 // within our normal stack space allocation.
 // UNSUPPORTED: asan
+//
+// The default stack size on NetBSD is too small for this test.
+// UNSUPPORTED: system-netbsd
 
 template<int N, typename T> struct X : X<N+1, T*> {};
 // expected-error-re at 8 {{recursive template instantiation exceeded maximum depth of 1024{{$}}}}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71419.233604.patch
Type: text/x-patch
Size: 666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191212/ed7447f7/attachment-0001.bin>


More information about the cfe-commits mailing list