[compiler-rt] r280026 - [asan] Attempt to fix test on darwin bot
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 29 15:59:02 PDT 2016
Author: vitalybuka
Date: Mon Aug 29 17:59:02 2016
New Revision: 280026
URL: http://llvm.org/viewvc/llvm-project?rev=280026&view=rev
Log:
[asan] Attempt to fix test on darwin bot
Modified:
compiler-rt/trunk/test/asan/TestCases/use-after-scope-types.cc
Modified: compiler-rt/trunk/test/asan/TestCases/use-after-scope-types.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/use-after-scope-types.cc?rev=280026&r1=280025&r2=280026&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/use-after-scope-types.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/use-after-scope-types.cc Mon Aug 29 17:59:02 2016
@@ -32,7 +32,7 @@ template <class T, size_t N> struct Ptr<
T *t;
};
-template <class T> void test() {
+template <class T> __attribute__((noinline)) void test() {
Ptr<T> ptr;
{
T x;
More information about the llvm-commits
mailing list