[compiler-rt] r236718 - [Msan] Make the mallinfo.cc test Linux-specific

Viktor Kutuzov vkutuzov at accesssoftek.com
Thu May 7 05:06:35 PDT 2015


Author: vkutuzov
Date: Thu May  7 07:06:35 2015
New Revision: 236718

URL: http://llvm.org/viewvc/llvm-project?rev=236718&view=rev
Log:
[Msan] Make the mallinfo.cc test Linux-specific
Differential Revision: http://reviews.llvm.org/D9461

Added:
    compiler-rt/trunk/test/msan/Linux/mallinfo.cc
      - copied unchanged from r236716, compiler-rt/trunk/test/msan/mallinfo.cc
Removed:
    compiler-rt/trunk/test/msan/mallinfo.cc

Removed: compiler-rt/trunk/test/msan/mallinfo.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/mallinfo.cc?rev=236717&view=auto
==============================================================================
--- compiler-rt/trunk/test/msan/mallinfo.cc (original)
+++ compiler-rt/trunk/test/msan/mallinfo.cc (removed)
@@ -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;
-}





More information about the llvm-commits mailing list