[PATCH] D21218: [LibFuzzer] Avoid using std::random_swap() due to platform differences and implement our own version.

Dan Liew via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 13 12:21:19 PDT 2016

delcypher added a comment.

In http://reviews.llvm.org/D21218#455412, @kcc wrote:

> What problem are you trying to fix and do you really need to fix it?

The problem I'm trying to fix is inconsistent mutation behavior between OSX and Linux. Having inconsistent behavior is undesirable because

- It makes debugging issues on OSX harder because it prevents me from using how LibFuzzer behaves on Linux as my point of reference.
- It makes tests flakey.


More information about the llvm-commits mailing list