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

Timur Iskhodzhanov timurrrr at google.com
Wed Jul 16 06:06:01 PDT 2014


Should be fixed by r213144.

Thanks for catching this!

2014-07-15 22:14 GMT+04:00 Kuba Brecka <kuba.brecka at gmail.com>:
> 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
>



More information about the llvm-commits mailing list