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

Mike Aizatsky via llvm-commits llvm-commits at lists.llvm.org
Tue May 31 15:06:57 PDT 2016


aizatsky added a comment.

I solved this in chromium tree by specifying additional linker arguments:

  "-Wl,-U,_LLVMFuzzerCustomMutator",
  "-Wl,-U,_LLVMFuzzerInitialize",

https://code.google.com/p/chromium/codesearch#chromium/src/testing/libfuzzer/BUILD.gn&l=29

Is there a reason we shouldn't do the same here without changing libfuzzer code?


http://reviews.llvm.org/D20741





More information about the llvm-commits mailing list