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

Timur Iskhodzhanov timurrrr at google.com
Wed Feb 18 07:16:19 PST 2015


Can you please try r229679?

On Wed Feb 18 2015 at 6:10:13 PM Timur Iskhodzhanov <timurrrr at google.com>
wrote:

> What exactly do you mean by "internal shell"?
> This broke cmd+gnuwin32 build.
>
> On Wed Feb 18 2015 at 1:38:21 AM Reid Kleckner <reid at kleckner.net> wrote:
>
>> 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
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150218/c2021b92/attachment.html>


More information about the llvm-commits mailing list