[PATCH] D48186: [asan] Move long-object-path.cc test to Linux

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 15 14:30:20 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT334866: [asan] Move long-object-path.cc test to Linux (authored by vitalybuka, committed by ).
Herald added a subscriber: Sanitizers.

Changed prior to commit:
  https://reviews.llvm.org/D48186?vs=151399&id=151562#toc

Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D48186

Files:
  test/asan/TestCases/Linux/long-object-path.cc
  test/asan/TestCases/long-object-path.cc


Index: test/asan/TestCases/Linux/long-object-path.cc
===================================================================
--- test/asan/TestCases/Linux/long-object-path.cc
+++ test/asan/TestCases/Linux/long-object-path.cc
@@ -0,0 +1,7 @@
+// RUN: mkdir -p %T/a-long-directory-name-to-test-allocations-for-exceptions-in-_dl_lookup_symbol_x-since-glibc-2.27
+// RUN: %clangxx_asan -g %s -o %T/long-object-path
+// RUN: %run %T/a-*/../a-*/../a-*/../a-*/../a-*/../a-*/../a-*/../a-*/../long-object-path
+
+int main(void) {
+    return 0;
+}
Index: test/asan/TestCases/long-object-path.cc
===================================================================
--- test/asan/TestCases/long-object-path.cc
+++ test/asan/TestCases/long-object-path.cc
@@ -1,8 +0,0 @@
-// RUN: mkdir -p %T/a-long-directory-name-to-test-allocations-for-exceptions-in-_dl_lookup_symbol_x-since-glibc-2.27
-// RUN: %clangxx_asan -g %s -o %T/long-object-path
-// RUN: %run %T/a-*/../a-*/../a-*/../a-*/../a-*/../a-*/../a-*/../a-*/../long-object-path
-// UNSUPPORTED: win32
-
-int main(void) {
-    return 0;
-}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48186.151562.patch
Type: text/x-patch
Size: 1075 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180615/cf31b5ce/attachment.bin>


More information about the llvm-commits mailing list