summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2015-02-18 15:14:07 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2015-02-18 15:14:07 +0000
commit805d8071396d1a276dc1cc0b066a17373260f627 (patch)
tree1fd9f6278b947b172b9ed977cee461c4b771eeff
parent8870ee77558ddc25c82eaff89b22359957a7f386 (diff)
downloadbcm5719-llvm-805d8071396d1a276dc1cc0b066a17373260f627.tar.gz
bcm5719-llvm-805d8071396d1a276dc1cc0b066a17373260f627.zip
[ASan/Win] Speculative fix to make the sed command line work with all sed implementations
llvm-svn: 229679
-rw-r--r--compiler-rt/test/asan/TestCases/Windows/dll_host.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/TestCases/Windows/dll_host.cc b/compiler-rt/test/asan/TestCases/Windows/dll_host.cc
index 0d8a7ea9c9f..79466d231cc 100644
--- a/compiler-rt/test/asan/TestCases/Windows/dll_host.cc
+++ b/compiler-rt/test/asan/TestCases/Windows/dll_host.cc
@@ -8,7 +8,9 @@
// RUN: dumpbin /EXPORTS %t | grep -o "__asan_wrap[^ ]*" | grep -v @ | sort | uniq > %t.exported_wrappers
//
// Get the list of ASan wrappers imported by the DLL RTL:
-// RUN: grep INTERCEPT_LIBRARY_FUNCTION %p/../../../../lib/asan/asan_win_dll_thunk.cc | grep -v define | sed -e s/.*(\\(.*\\)).*/__asan_wrap_\\1/ | sort | uniq > %t.dll_imports
+// [BEWARE: be really careful with the sed commands, as this test can be run
+// from different environemnts with different shells and seds]
+// RUN: grep INTERCEPT_LIBRARY_FUNCTION %p/../../../../lib/asan/asan_win_dll_thunk.cc | grep -v define | sed -e s/.*(/__asan_wrap_/ | sed -e s/).*// | sort | uniq > %t.dll_imports
//
// Now make sure the DLL thunk imports everything:
// RUN: echo
OpenPOWER on IntegriCloud