Skip to content

Commit

Permalink
Enable symbolize-deadlock.test on Windows
Browse files Browse the repository at this point in the history
Summary:
Remove unneeded #include of <unistd.h> from SymbolizeDeadlock.cpp to
enable compilation on Windows and enable symbolize-deadlock.test on
Windows.

Patch by Jonathan Metzman (@metzman).

Reviewers: Dor1s

Reviewed By: Dor1s

Subscribers: kcc, delcypher, llvm-commits, #sanitizers

Differential Revision: https://reviews.llvm.org/D51685

llvm-svn: 341473
  • Loading branch information
Dor1s committed Sep 5, 2018
1 parent 5795673 commit 651abaf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion compiler-rt/test/fuzzer/SymbolizeDeadlock.cpp
Expand Up @@ -8,7 +8,6 @@
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <unistd.h>

#include "Bingo.h"

Expand Down
2 changes: 0 additions & 2 deletions compiler-rt/test/fuzzer/symbolize-deadlock.test
@@ -1,4 +1,2 @@
# Disabled on Widows because <unistd.h> is a posix-only header.
UNSUPPORTED: windows
RUN: %cpp_compiler %S/SymbolizeDeadlock.cpp -o %t
RUN: not %run %t -rss_limit_mb=20 2>&1

0 comments on commit 651abaf

Please sign in to comment.