On Mon, Jul 28, 2014 at 1:34 PM, ji wang <[email protected]> wrote: > Hi,Evgeniy > >>malloc_usable_size segfault looks like >>http://llvm.org/viewvc/llvm-project?rev=210452&view=rev, you might >>need to update your asan runtime. I'm not sure if this is revision is >>merged to the gcc copy yet. > > I patched it and works.:) Thank u so much Evgeniy, I love > you!!!!!!!!!!!!!!!!!!!!! > > >>I think I understand why you had 2 copies of the runtime library in >>one process. There is one that comes from the platform tree >>(libasan_preload.so), and the other from asan_device_setup. This is an >>unfortunate situation where 2 integration paths did not quite merge. >>If you are up to it, I'd suggest updating external/compiler-rt source >>to a newer revision, and changing the library name (in Android.mk) to >>match what either gcc or clang drivers call it. > > I changed the asan_device_setup to use the libasan_preload.so and didn't > have 2 copies of runtime library.
This would work, too. > A little confused about what u said:( > > -- > 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. -- 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.
