[PATCH] D27729: [libFuzzer] Diff 20 - Update tests to use more general functions instead of posix specific.

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 14 13:22:10 PST 2016

zturner added a comment.

What about copying these functions into a common header file that has no dependencies and can be symlinked from the test dir into the source tree?  That way the test (which now consists of a cpp file and a h file) is self contained, but there is still only one master copy of the h file so we don't have to worry about code duplication.  Then `FuzzerUtilWindows.h` could just incldue that header file.



More information about the llvm-commits mailing list