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

Pirama Arumuga Nainar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 15:37:14 PST 2017


pirama added a comment.

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

> For sanitizers, we build only for api 14  and use that binary everywhere. Why is libfuzzer special?


libfuzzer depends on the C++ stl.  This makes a common libfuzzer.a infeasible because the STL namespace gets specialized when built against the NDK and causes a link failure when such an archive is built against the platform.

> One option is to configure the whole compiler-rt build tree, and then do "ninja fuzzer" w/o building the rest of the libraries.

I believe Yi encounted an error during CMake configuration  itself, but he can clarify.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D40590





More information about the llvm-commits mailing list