summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktor Kutuzov <vkutuzov@accesssoftek.com>2014-07-16 10:05:29 +0000
committerViktor Kutuzov <vkutuzov@accesssoftek.com>2014-07-16 10:05:29 +0000
commit080e64649528c7a36d6655e562cbf02add1ee6ce (patch)
tree6987b96fa3e324797d79a57f14d45b3ee27fec92
parent8a014bd444c1bd7f32a3a2da0554e1903fded993 (diff)
downloadcompiler-rt-080e64649528c7a36d6655e562cbf02add1ee6ce.tar.gz
Add FreeBSD support to the address sanitizer's atexit_stats.cc test case
Differential Revision: http://reviews.llvm.org/D4524 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@213134 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/asan/TestCases/atexit_stats.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/atexit_stats.cc b/test/asan/TestCases/atexit_stats.cc
index b5a5fad92..be6534475 100644
--- a/test/asan/TestCases/atexit_stats.cc
+++ b/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);