forked from OSchip/llvm-project
[CodeGenCXX] XFAIL test for ASAN on Darwin.
The test hits stack overflow trying to instantiate recursive templates. It is observed with ASAN and not with a regular build because ASAN increases stack frame size. rdar://problem/45009892 Reviewers: george.karpenkov, lebedev.ri Reviewed By: george.karpenkov Subscribers: dexonsmith, rjmccall, cfe-commits Differential Revision: https://reviews.llvm.org/D54132 llvm-svn: 346200
This commit is contained in:
parent
c210c65e77
commit
536a5c4691
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue