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

Dan Liew via llvm-commits llvm-commits at lists.llvm.org
Tue May 31 17:03:19 PDT 2016


delcypher updated this revision to Diff 59155.
delcypher added a comment.

Try to use dlsym() rather than passing flags to the linker on OSX. The result is not very satisfying.


http://reviews.llvm.org/D20741

Files:
  lib/Fuzzer/CMakeLists.txt
  lib/Fuzzer/FuzzerDriver.cpp
  lib/Fuzzer/FuzzerInternal.h
  lib/Fuzzer/FuzzerLoop.cpp
  lib/Fuzzer/FuzzerMain.cpp
  lib/Fuzzer/test/CMakeLists.txt
  lib/Fuzzer/test/FuzzerUnittest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20741.59155.patch
Type: text/x-patch
Size: 8706 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160601/d1684bcb/attachment-0001.bin>


More information about the llvm-commits mailing list