[compiler-rt] r243800 - [ASan] Fix two tests on FreeBSD: alloca.h is missing there.

Alexey Samsonov vonosmas at gmail.com
Fri Jul 31 16:57:06 PDT 2015


Author: samsonov
Date: Fri Jul 31 18:57:06 2015
New Revision: 243800

URL: http://llvm.org/viewvc/llvm-project?rev=243800&view=rev
Log:
[ASan] Fix two tests on FreeBSD: alloca.h is missing there.

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

Modified: compiler-rt/trunk/test/asan/TestCases/alloca_loop_unpoisoning.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/alloca_loop_unpoisoning.cc?rev=243800&r1=243799&r2=243800&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/alloca_loop_unpoisoning.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/alloca_loop_unpoisoning.cc Fri Jul 31 18:57:06 2015
@@ -6,8 +6,8 @@
 // This testcase checks that allocas and VLAs inside loop are correctly unpoisoned.
 
 #include <assert.h>
-#include <alloca.h>
 #include <stdint.h>
+#include <stdlib.h>
 #include "sanitizer/asan_interface.h"
 
 void *top, *bot;

Modified: compiler-rt/trunk/test/asan/TestCases/alloca_vla_interact.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/alloca_vla_interact.cc?rev=243800&r1=243799&r2=243800&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/alloca_vla_interact.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/alloca_vla_interact.cc Fri Jul 31 18:57:06 2015
@@ -7,8 +7,8 @@
 // This testcase checks correct interaction between VLAs and allocas.
 
 #include <assert.h>
-#include <alloca.h>
 #include <stdint.h>
+#include <stdlib.h>
 #include "sanitizer/asan_interface.h"
 
 #define RZ 32





More information about the llvm-commits mailing list