[compiler-rt] r213134 - Add FreeBSD support to the address sanitizer's atexit_stats.cc test case

Viktor Kutuzov vkutuzov at accesssoftek.com
Wed Jul 16 03:06:20 PDT 2014


Author: vkutuzov
Date: Wed Jul 16 05:05:29 2014
New Revision: 213134

URL: http://llvm.org/viewvc/llvm-project?rev=213134&view=rev
Log:
Add FreeBSD support to the address sanitizer's atexit_stats.cc test case
Differential Revision: http://reviews.llvm.org/D4524

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

Modified: compiler-rt/trunk/test/asan/TestCases/atexit_stats.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/atexit_stats.cc?rev=213134&r1=213133&r2=213134&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/atexit_stats.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/atexit_stats.cc Wed Jul 16 05:05:29 2014
@@ -7,7 +7,7 @@
 // XFAIL: android
 
 #include <stdlib.h>
-#if !defined(__APPLE__)
+#if !defined(__APPLE__) && !defined(__FreeBSD__)
 #include <malloc.h>
 #endif
 int *p1 = (int*)malloc(900);





More information about the llvm-commits mailing list