[PATCH] D40590: [LibFuzzer] Allow fuzzer to be built standalone

Stephen Hines via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 28 17:36:37 PST 2017


srhines added a comment.

In https://reviews.llvm.org/D40590#938543, @eugenis wrote:

> @kcc 
>  Fuzzer can be built in the same tree with other sanitizer runtimes.
>  Why do you need a standalone build?


For Android's toolchain, this library has to be built multiple times. Once is for the platform developers to use (i.e. the latest API level). At least one more build has to be done using API 14 (our lowest native supported API level, but this is 21 for 64-bit) for NDK users. We then package both libFuzzer.a libraries, and allow the build to select the correct one (platform or NDK/app user).


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D40590





More information about the llvm-commits mailing list