[PATCH] [compiler-rt] Move ASan non-Linux-specific tests out of the Linux/ directory
Alexey Samsonov
vonosmas at gmail.com
Thu Nov 13 12:45:23 PST 2014
================
Comment at: test/asan/TestCases/glob.cc:10
@@ +9,3 @@
+#include <glob.h>
+#include <stdio.h>
+#include <string.h>
----------------
This test should go to TestCases/Posix. Sooner or later we'll start to run tests from TestCases on Windows.
================
Comment at: test/asan/TestCases/interception_failure_test.cc:3
@@ +2,3 @@
+// intercept these functions.
+
+// RUN: %clangxx_asan -O0 %s -o %t && %run %t 2>&1 | FileCheck %s
----------------
I'm not sure this works on Windows. Timur?
================
Comment at: test/asan/TestCases/new_array_cookie_test.cc:1
@@ +1,2 @@
+// REQUIRES: asan-64-bits
+// RUN: %clangxx_asan -O3 %s -o %t
----------------
This is also not implemented for Windows
================
Comment at: test/asan/TestCases/tsd_dtor_leak.cc:8
@@ +7,3 @@
+#include <stdlib.h>
+#include <assert.h>
+#include <sanitizer/allocator_interface.h>
----------------
This test is also Posix-specific.
http://reviews.llvm.org/D6244
More information about the llvm-commits
mailing list