[PATCH] D20741: [LibFuzzer] Fix weak linking issues building tests under OSX.

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Fri May 27 12:28:22 PDT 2016


kcc added a comment.

This is very sad. 
Are you sure that there is no way to have this in the form of some attribute in the source code? 
I do not expect libFuzzer to be used with the LLVM build system other than when fuzzing parts of LLVM, 
and the build command line needs to remain simple: 
clang++ -c -g -O2 -std=c++11 Fuzzer/*.cpp -IFuzzer

So, ask around at Apple and find another way that will not require extra command line params. Please. 
If there is no way, I want to have this properly documented in a form of llvm bug and an accompanied rdar entry.


http://reviews.llvm.org/D20741





More information about the llvm-commits mailing list