[PATCH] D37631: [libFuzzer] Support using libc++

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 8 14:19:06 PDT 2017


phosek added a comment.

In https://reviews.llvm.org/D37631#865187, @kcc wrote:

> If we can privatize STL this would be a much more preferable solution -- no driver changes and multiple versions. 
>  This may also solve libFuzzer+msan (right now we have to recompile libFuzzer for msan).


I managed to "internalize" the names using `_LIBCPP_ABI_VERSION`, but now libFuzzer is breaking at link time because of undefined references (as expected). To solve that, we would probably have recompile libc++ using the internalized names and then package all the object files (or at least the necessary subset) into libFuzzer archive.


Repository:
  rL LLVM

https://reviews.llvm.org/D37631





More information about the llvm-commits mailing list