<div dir="ltr">Ungood. <div>May I ask you to completely get rid of these <span style="font-family:arial,sans-serif;font-size:13px">SharedLibs</span>?</div><div>take a look at e.g. ./asan/TestCases/Linux/stress_dtls.c</div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 14, 2014 at 6:16 PM, Timur Iskhodzhanov <span dir="ltr"><<a href="mailto:timurrrr@google.com" target="_blank">timurrrr@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: timurrrr<br>
Date: Wed May 14 09:16:09 2014<br>
New Revision: 208778<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=208778&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=208778&view=rev</a><br>
Log:<br>
[ASan tests] Update relative paths from POSIX-only tests to their shared libraries<br>
<br>
Modified:<br>
    compiler-rt/trunk/test/asan/TestCases/Posix/init-order-dlopen.cc<br>
    compiler-rt/trunk/test/asan/TestCases/Posix/shared-lib-test.cc<br>
    compiler-rt/trunk/test/asan/TestCases/Posix/start-deactivated.cc<br>
<br>
Modified: compiler-rt/trunk/test/asan/TestCases/Posix/init-order-dlopen.cc<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/init-order-dlopen.cc?rev=208778&r1=208777&r2=208778&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/init-order-dlopen.cc?rev=208778&r1=208777&r2=208778&view=diff</a><br>

==============================================================================<br>
--- compiler-rt/trunk/test/asan/TestCases/Posix/init-order-dlopen.cc (original)<br>
+++ compiler-rt/trunk/test/asan/TestCases/Posix/init-order-dlopen.cc Wed May 14 09:16:09 2014<br>
@@ -3,9 +3,9 @@<br>
<br>
 // Assume we're on Darwin and try to pass -U to the linker. If this flag is<br>
 // unsupported, don't use it.<br>
-// RUN: %clangxx_asan -O0 %p/SharedLibs/init-order-dlopen-so.cc \<br>
+// RUN: %clangxx_asan -O0 %p/../SharedLibs/init-order-dlopen-so.cc \<br>
 // RUN:     -fPIC -shared -o %t-so.so -Wl,-U,_inc_global || \<br>
-// RUN:     %clangxx_asan -O0 %p/SharedLibs/init-order-dlopen-so.cc \<br>
+// RUN:     %clangxx_asan -O0 %p/../SharedLibs/init-order-dlopen-so.cc \<br>
 // RUN:         -fPIC -shared -o %t-so.so<br>
 // If the linker doesn't support --export-dynamic (which is ELF-specific),<br>
 // try to link without that option.<br>
<br>
Modified: compiler-rt/trunk/test/asan/TestCases/Posix/shared-lib-test.cc<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/shared-lib-test.cc?rev=208778&r1=208777&r2=208778&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/shared-lib-test.cc?rev=208778&r1=208777&r2=208778&view=diff</a><br>

==============================================================================<br>
--- compiler-rt/trunk/test/asan/TestCases/Posix/shared-lib-test.cc (original)<br>
+++ compiler-rt/trunk/test/asan/TestCases/Posix/shared-lib-test.cc Wed May 14 09:16:09 2014<br>
@@ -1,10 +1,10 @@<br>
-// RUN: %clangxx_asan -O0 %p/SharedLibs/shared-lib-test-so.cc -fPIC -shared -o %t-so.so<br>
+// RUN: %clangxx_asan -O0 %p/../SharedLibs/shared-lib-test-so.cc -fPIC -shared -o %t-so.so<br>
 // RUN: %clangxx_asan -O0 %s -ldl -o %t && not %run %t 2>&1 | FileCheck %s<br>
-// RUN: %clangxx_asan -O1 %p/SharedLibs/shared-lib-test-so.cc -fPIC -shared -o %t-so.so<br>
+// RUN: %clangxx_asan -O1 %p/../SharedLibs/shared-lib-test-so.cc -fPIC -shared -o %t-so.so<br>
 // RUN: %clangxx_asan -O1 %s -ldl -o %t && not %run %t 2>&1 | FileCheck %s<br>
-// RUN: %clangxx_asan -O2 %p/SharedLibs/shared-lib-test-so.cc -fPIC -shared -o %t-so.so<br>
+// RUN: %clangxx_asan -O2 %p/../SharedLibs/shared-lib-test-so.cc -fPIC -shared -o %t-so.so<br>
 // RUN: %clangxx_asan -O2 %s -ldl -o %t && not %run %t 2>&1 | FileCheck %s<br>
-// RUN: %clangxx_asan -O3 %p/SharedLibs/shared-lib-test-so.cc -fPIC -shared -o %t-so.so<br>
+// RUN: %clangxx_asan -O3 %p/../SharedLibs/shared-lib-test-so.cc -fPIC -shared -o %t-so.so<br>
 // RUN: %clangxx_asan -O3 %s -ldl -o %t && not %run %t 2>&1 | FileCheck %s<br>
<br>
 #include <dlfcn.h><br>
<br>
Modified: compiler-rt/trunk/test/asan/TestCases/Posix/start-deactivated.cc<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/start-deactivated.cc?rev=208778&r1=208777&r2=208778&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/start-deactivated.cc?rev=208778&r1=208777&r2=208778&view=diff</a><br>

==============================================================================<br>
--- compiler-rt/trunk/test/asan/TestCases/Posix/start-deactivated.cc (original)<br>
+++ compiler-rt/trunk/test/asan/TestCases/Posix/start-deactivated.cc Wed May 14 09:16:09 2014<br>
@@ -2,7 +2,7 @@<br>
 // Main executable is uninstrumented, but linked to ASan runtime. The shared<br>
 // library is instrumented. Memory errors before dlopen are not detected.<br>
<br>
-// RUN: %clangxx_asan -O0 %p/SharedLibs/start-deactivated-so.cc -fPIC -shared -o %t-so.so<br>
+// RUN: %clangxx_asan -O0 %p/../SharedLibs/start-deactivated-so.cc -fPIC -shared -o %t-so.so<br>
 // RUN: %clangxx -O0 %s -c -o %t.o<br>
 // RUN: %clangxx_asan -O0 %t.o -ldl -o %t<br>
 // RUN: ASAN_OPTIONS=start_deactivated=1 not %run %t 2>&1 | FileCheck %s<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>