[PATCH] [Msan] Make the mallinfo.cc test Linux-specific
Phabricator
reviews at reviews.llvm.org
Thu May 7 05:10:22 PDT 2015
REPOSITORY
rL LLVM
http://reviews.llvm.org/D9461
Files:
compiler-rt/trunk/test/msan/Linux/mallinfo.cc
compiler-rt/trunk/test/msan/mallinfo.cc
Index: compiler-rt/trunk/test/msan/mallinfo.cc
===================================================================
--- compiler-rt/trunk/test/msan/mallinfo.cc
+++ compiler-rt/trunk/test/msan/mallinfo.cc
@@ -1,12 +0,0 @@
-// RUN: %clangxx_msan -O0 -g %s -o %t && %run %t
-
-#include <assert.h>
-#include <malloc.h>
-
-#include <sanitizer/msan_interface.h>
-
-int main(void) {
- struct mallinfo mi = mallinfo();
- assert(__msan_test_shadow(&mi, sizeof(mi)) == -1);
- return 0;
-}
Index: compiler-rt/trunk/test/msan/Linux/mallinfo.cc
===================================================================
--- compiler-rt/trunk/test/msan/Linux/mallinfo.cc
+++ compiler-rt/trunk/test/msan/Linux/mallinfo.cc
@@ -0,0 +1,12 @@
+// RUN: %clangxx_msan -O0 -g %s -o %t && %run %t
+
+#include <assert.h>
+#include <malloc.h>
+
+#include <sanitizer/msan_interface.h>
+
+int main(void) {
+ struct mallinfo mi = mallinfo();
+ assert(__msan_test_shadow(&mi, sizeof(mi)) == -1);
+ return 0;
+}
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9461.25162.patch
Type: text/x-patch
Size: 980 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150507/8b279508/attachment.bin>
More information about the llvm-commits
mailing list