[PATCH] D48891: [libFuzzer] Make -fsanitize=memory,fuzzer work.

Matt Morehouse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 16 11:27:05 PDT 2018


morehouse added a comment.

After more thinking, the private libc++ probably isn't the issue here since only libFuzzer itself gets linked with that.  The fuzz target is linked with whatever C++ standard library your system is configured to use.

On my machine, that's `libstdc++`, but yours is `libc++`.  Perhaps libc++ implements `cout << ...` differently, therefore causing the false positive...  Let me know if the rebuild fixes it.  Otherwise, I'll take a closer look.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D48891





More information about the llvm-commits mailing list