This revision was automatically updated to reflect the committed changes. Closed by commit rC346200: [CodeGenCXX] XFAIL test for ASAN on Darwin. (authored by vsapsai, committed by ).
Changed prior to commit: https://reviews.llvm.org/D54132?vs=172692&id=172699#toc Repository: rC Clang https://reviews.llvm.org/D54132 Files: test/CodeGenCXX/castexpr-basepathsize-threshold.cpp Index: test/CodeGenCXX/castexpr-basepathsize-threshold.cpp =================================================================== --- test/CodeGenCXX/castexpr-basepathsize-threshold.cpp +++ test/CodeGenCXX/castexpr-basepathsize-threshold.cpp @@ -3,6 +3,10 @@ // https://bugs.llvm.org/show_bug.cgi?id=38356 // We only check that we do not crash. +// ASAN increases stack usage, so we are hitting stack overflow before reaching +// recursive template instantiation limit. +// XFAIL: darwin && asan + template <typename a, a b(unsigned), int c, unsigned...> struct d : d<a, b, c - 1> {}; template <typename a, a b(unsigned), unsigned... e>
Index: test/CodeGenCXX/castexpr-basepathsize-threshold.cpp =================================================================== --- test/CodeGenCXX/castexpr-basepathsize-threshold.cpp +++ test/CodeGenCXX/castexpr-basepathsize-threshold.cpp @@ -3,6 +3,10 @@ // https://bugs.llvm.org/show_bug.cgi?id=38356 // We only check that we do not crash. +// ASAN increases stack usage, so we are hitting stack overflow before reaching +// recursive template instantiation limit. +// XFAIL: darwin && asan + template <typename a, a b(unsigned), int c, unsigned...> struct d : d<a, b, c - 1> {}; template <typename a, a b(unsigned), unsigned... e>
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits