[llvm-commits] (autoconf) Build ASan runtime for ARM/Android

Evgeniy Stepanov eugeni.stepanov at gmail.com
Sun Sep 30 15:18:58 PDT 2012


Those define the host platform (i.e. the one where compiler runs). The
idea here is to build compiler-rt for all possible target platforms.
We already do it for x86 and x86_64 when building on x86_64, and, with
this option, will be able to do it for android as well.

On Sat, Sep 29, 2012 at 1:18 AM, Eric Christopher <echristo at gmail.com> wrote:
> What's wrong with using --with-sysroot and the --target to determine
> this information?
>
> -eric
>
> On Fri, Sep 28, 2012 at 5:17 AM, Evgeniy Stepanov
> <eugeni.stepanov at gmail.com> wrote:
>> Hi,
>>
>> these patched enable building the ARM/Android runtime library for
>> AddressSanitizer if Android NDK is available.
>> They add a 'configure' option, --with-android-toolchain, that, when
>> pointed to a standalone toolchain from the Android NDK, enables
>> building the runtime library.
>>
>> WDYT? Is this in the right general direction? We could later support
>> simultaneous building of i386 and x86_64 runtimes on multilib systems
>> the same way - a configure test in LLVM, and a conditional
>> configuration in compiler-rt.
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>



More information about the llvm-commits mailing list