[compiler-rt] r213053 - [ASan] Only define macros in asan_init_version.h, move the __asan_init declaration back to asan_interface_internal.h

Kuba Brecka kuba.brecka at gmail.com
Tue Jul 15 11:14:35 PDT 2014


This:

> +++
compiler-rt/trunk/test/asan/TestCases/Darwin/interface_symbols_darwin.c Tue
Jul 15 03:16:04 2014
> +// RUN:   | sed "s/__asan_init_v[0-9]\+/__asan_init/" \

doesn't work on OS X:

$ echo "__asan_init_v4" | sed "s/__asan_init_v[0-9]\+/__asan_init/"
__asan_init_v4

Making the test fail. Dropping the backslash and adding -E should do the
trick:

$ echo "__asan_init_v4" | sed -E "s/__asan_init_v[0-9]+/__asan_init/"
__asan_init

Kuba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140715/cac134bd/attachment.html>


More information about the llvm-commits mailing list