[compiler-rt] r229570 - WinASan: Fix escaping in dll_host.cc test to work with internal shell

Reid Kleckner reid at kleckner.net
Tue Feb 17 14:22:21 PST 2015


Author: rnk
Date: Tue Feb 17 16:22:20 2015
New Revision: 229570

URL: http://llvm.org/viewvc/llvm-project?rev=229570&view=rev
Log:
WinASan: Fix escaping in dll_host.cc test to work with internal shell

Modified:
    compiler-rt/trunk/test/asan/TestCases/Windows/dll_host.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Windows/dll_host.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Windows/dll_host.cc?rev=229570&r1=229569&r2=229570&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Windows/dll_host.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Windows/dll_host.cc Tue Feb 17 16:22:20 2015
@@ -8,7 +8,7 @@
 // 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 "s/.*(\(.*\)).*/__asan_wrap_\1/" | sort | uniq > %t.dll_imports
+// 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
 //
 // Now make sure the DLL thunk imports everything:
 // RUN: echo





More information about the llvm-commits mailing list