[LLVMdev] [ASan] static linking on android?
kcc at google.com
Fri Sep 20 22:45:26 PDT 2013
On Sat, Sep 21, 2013 at 4:58 AM, Greg Fitzgerald <garious at gmail.com> wrote:
> Why does compiler-rt ship a shared object for ASan on Android instead
> of a static library? Would statically linking ASan on Android at
> least be safe for standalone executables?
> And if I'm wanting to use ASan in C++ code that is invoked from an
> APK, can I statically link ASan? If not, what is the reason we need
> to preload Dalvik with the ASan shared object? I assume static
> linking here would mean that ASan would miss leaks and overflows in
> Dalvik, but are there other drawbacks?
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev