[compiler-rt] r184541 - [ASan] make test for LSan annotations Linux-only for now

Alexey Samsonov samsonov at google.com
Fri Jun 21 05:18:52 PDT 2013


Author: samsonov
Date: Fri Jun 21 07:18:52 2013
New Revision: 184541

URL: http://llvm.org/viewvc/llvm-project?rev=184541&view=rev
Log:
[ASan] make test for LSan annotations Linux-only for now

Added:
    compiler-rt/trunk/lib/asan/lit_tests/TestCases/Linux/lsan_annotations.cc
      - copied unchanged from r184540, compiler-rt/trunk/lib/asan/lit_tests/TestCases/lsan_annotations.cc
Removed:
    compiler-rt/trunk/lib/asan/lit_tests/TestCases/lsan_annotations.cc

Removed: compiler-rt/trunk/lib/asan/lit_tests/TestCases/lsan_annotations.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/lit_tests/TestCases/lsan_annotations.cc?rev=184540&view=auto
==============================================================================
--- compiler-rt/trunk/lib/asan/lit_tests/TestCases/lsan_annotations.cc (original)
+++ compiler-rt/trunk/lib/asan/lit_tests/TestCases/lsan_annotations.cc (removed)
@@ -1,16 +0,0 @@
-// Check that LSan annotations work fine.
-// RUN: %clangxx_asan -O0 %s -o %t && %t
-// RUN: %clangxx_asan -O3 %s -o %t && %t
-
-#include <sanitizer/lsan_interface.h>
-#include <stdlib.h>
-
-int main() {
-  int *x = new int;
-  __lsan_ignore_object(x);
-  {
-    __lsan::ScopedDisabler disabler;
-    double *y = new double;
-  }
-  return 0;
-}





More information about the llvm-commits mailing list