diff options
author | Marcos Pividori <mpividori@google.com> | 2017-02-08 00:03:18 +0000 |
---|---|---|
committer | Marcos Pividori <mpividori@google.com> | 2017-02-08 00:03:18 +0000 |
commit | 360be4d7ad95a72189ee591e39f8f8ca90e47e33 (patch) | |
tree | db96c87a5207e60aa32317bd161361e99ed7ffb5 /llvm/lib/Fuzzer/FuzzerTracePC.cpp | |
parent | e219d401912ffa8b62dd27fd3f9094cf334de840 (diff) | |
download | bcm5719-llvm-360be4d7ad95a72189ee591e39f8f8ca90e47e33.tar.gz bcm5719-llvm-360be4d7ad95a72189ee591e39f8f8ca90e47e33.zip |
[libFuzzer] Properly use Handle instead of FD on Windows.
For Windows, sanitizers work with Handles, not with posix file descriptors,
because they use the windows-specific API. So we need to convert the fds to
handles before passing them to the sanitizer library.
After this change, close_fd_mask is fixed for Windows (this fix some tests too).
Differential Revision: https://reviews.llvm.org/D29548
llvm-svn: 294388
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerTracePC.cpp')
0 files changed, 0 insertions, 0 deletions