[compiler-rt] r322638 - Hotfix for test/asan/TestCases/alloca_constant_size.cc

Kamil Rytarowski via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 04:32:17 PST 2018


Author: kamil
Date: Wed Jan 17 04:32:17 2018
New Revision: 322638

URL: http://llvm.org/viewvc/llvm-project?rev=322638&view=rev
Log:
Hotfix for test/asan/TestCases/alloca_constant_size.cc

Add missing endif.

Modified:
    compiler-rt/trunk/test/asan/TestCases/alloca_constant_size.cc

Modified: compiler-rt/trunk/test/asan/TestCases/alloca_constant_size.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/alloca_constant_size.cc?rev=322638&r1=322637&r2=322638&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/alloca_constant_size.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/alloca_constant_size.cc Wed Jan 17 04:32:17 2018
@@ -11,6 +11,7 @@
 // MSVC provides _alloca instead of alloca.
 #if defined(_MSC_VER) && !defined(alloca)
 # define alloca _alloca
+#endif
 
 #if defined(__sun__) && defined(__svr4__)
 #include <alloca.h>




More information about the llvm-commits mailing list