[PATCH] D69593: [libFuzzer] don't use /dev/null for DiscardOuput in Fuchsia.

Marco Vanotti via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 11:34:19 PST 2019


charco updated this revision to Diff 227935.
charco added a comment.

Move DiscardOutput to FuzzerUtil*.

As suggested by the reviewers, I'm moving the DiscardOutput function to
FuzzerUtil(Darwin|Linux|Windows|Fuchsia).cpp, so now each platform can have
its own specialized version.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69593/new/

https://reviews.llvm.org/D69593

Files:
  compiler-rt/lib/fuzzer/FuzzerIO.h
  compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp
  compiler-rt/lib/fuzzer/FuzzerIOWindows.cpp
  compiler-rt/lib/fuzzer/FuzzerUtil.h
  compiler-rt/lib/fuzzer/FuzzerUtilDarwin.cpp
  compiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp
  compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
  compiler-rt/lib/fuzzer/FuzzerUtilPosix.cpp
  compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69593.227935.patch
Type: text/x-patch
Size: 4934 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191105/14eed1fc/attachment.bin>


More information about the llvm-commits mailing list