On Tue, Jul 29, 2014 at 10:34 AM, ji wang <[email protected]> wrote:
>>Do you mean Android? ARM Linux should be 100% similar to x86 Linux.
> Yes, I mean Android. I am using Asan enabled GCC android toolchain now.

>From Evgeny's words it seems that GCC Asan and LLVM Asan work
differently on Android. And GCC Asan is not quite usable on Android
(it seems to work by accident).

>>GCC arranges library order for you when you link with
>>-fsanitize=address.
> Does this mean when I use Asan enabled GCC android toolchain, pass
> -fsanitize=address
> to the LD_FLAGS,  the GCC can arranges lib order for me?

Right, both GCC and Clang will arrange proper lib order during link.

-Y

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to