[PATCH] Add FreeBSD support to the address sanitizer's atexit_stats.cc test case

Viktor Kutuzov vkutuzov at accesssoftek.com
Wed Jul 16 03:15:46 PDT 2014


Closed by commit rL213134 (authored by vkutuzov).

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D4524

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

Index: compiler-rt/trunk/test/asan/TestCases/atexit_stats.cc
===================================================================
--- compiler-rt/trunk/test/asan/TestCases/atexit_stats.cc
+++ compiler-rt/trunk/test/asan/TestCases/atexit_stats.cc
@@ -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);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4524.11493.patch
Type: text/x-patch
Size: 437 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140716/83357dc1/attachment.bin>


More information about the llvm-commits mailing list