[compiler-rt] r296424 - [non-executable-pc.cpp] Try to fix clang-ppc64be buildbot.

Filipe Cabecinhas via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 27 18:05:53 PST 2017


Author: filcab
Date: Mon Feb 27 20:05:53 2017
New Revision: 296424

URL: http://llvm.org/viewvc/llvm-project?rev=296424&view=rev
Log:
[non-executable-pc.cpp] Try to fix clang-ppc64be buildbot.

Modified:
    compiler-rt/trunk/test/asan/TestCases/non-executable-pc.cpp

Modified: compiler-rt/trunk/test/asan/TestCases/non-executable-pc.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/non-executable-pc.cpp?rev=296424&r1=296423&r2=296424&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/non-executable-pc.cpp (original)
+++ compiler-rt/trunk/test/asan/TestCases/non-executable-pc.cpp Mon Feb 27 20:05:53 2017
@@ -3,10 +3,10 @@
 // RUN: not %run %t n 2>&1 | FileCheck %s -check-prefix=CHECK -check-prefix=NON_EXEC
 
 #include <assert.h>
-char array[42];
 
 typedef void void_f();
 int main(int argc, char **argv) {
+  char array[42];
   void_f *func;
   assert(argc > 1);
   if (argv[1][0] == '0') {




More information about the llvm-commits mailing list