<div dir="ltr">As of r279668, we shouldn't run this test for ASan builds any more. Perhaps we should increase Clang's minimum stack allocation when built with ASan to compensate for it making stack frames larger.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 24, 2016 at 12:33 AM, Yaron Keren <span dir="ltr"><<a href="mailto:yaron.keren@gmail.com" target="_blank">yaron.keren@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="rtl"><div dir="ltr">I see the same stack overflow asan error in a local buildbot.</div><div dir="ltr"><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote"><div dir="ltr">2016-08-22 20:30 GMT+03:00 Akira Hatanaka via cfe-commits <span dir="ltr"><<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>></span>:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Richard,<br>
<br>
This test has been failing since it was committed.<br>
<br>
<a href="http://lab.llvm.org:8080/green/job/clang-stage2-cmake-RgSan_check/2277/" rel="noreferrer" target="_blank">http://lab.llvm.org:8080/green<wbr>/job/clang-stage2-cmake-RgSan_<wbr>check/2277/</a><br>
<div><div><br>
> On Aug 17, 2016, at 2:42 PM, Richard Smith via cfe-commits <<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>> wrote:<br>
><br>
> Author: rsmith<br>
> Date: Wed Aug 17 16:42:10 2016<br>
> New Revision: 278984<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=278984&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-pr<wbr>oject?rev=278984&view=rev</a><br>
> Log:<br>
> Add test missed from r278983.<br>
><br>
> Added:<br>
> cfe/trunk/test/SemaTemplate/in<wbr>stantiation-depth-default.cpp<br>
><br>
> Added: cfe/trunk/test/SemaTemplate/in<wbr>stantiation-depth-default.cpp<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/instantiation-depth-default.cpp?rev=278984&view=auto" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-pr<wbr>oject/cfe/trunk/test/SemaTempl<wbr>ate/instantiation-depth-<wbr>default.cpp?rev=278984&view=<wbr>auto</a><br>
> ==============================<wbr>==============================<wbr>==================<br>
> --- cfe/trunk/test/SemaTemplate/in<wbr>stantiation-depth-default.cpp (added)<br>
> +++ cfe/trunk/test/SemaTemplate/in<wbr>stantiation-depth-default.cpp Wed Aug 17 16:42:10 2016<br>
> @@ -0,0 +1,9 @@<br>
> +// RUN: %clang_cc1 -fsyntax-only -verify -ftemplate-backtrace-limit 2 %s<br>
> +<br>
> +template<int N, typename T> struct X : X<N+1, T*> {};<br>
> +// expected-error-re@3 {{recursive template instantiation exceeded maximum depth of 1024{{$}}}}<br>
> +// expected-note@3 {{instantiation of template class}}<br>
> +// expected-note@3 {{skipping 1023 contexts in backtrace}}<br>
> +// expected-note@3 {{use -ftemplate-depth=N to increase recursive template instantiation depth}}<br>
> +<br>
> +X<0, int> x; // expected-note {{in instantiation of}}<br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> cfe-commits mailing list<br>
> <a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-commits</a><br>
<br>
______________________________<wbr>_________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-commits</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>