Enable symbolize-deadlock.test on Windows

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
This commit is contained in:
Max Moroz 2018-09-05 14:43:38 +00:00
parent 5795673ef8
commit 651abaf536
2 changed files with 0 additions and 3 deletions

View File

@ -8,7 +8,6 @@
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <unistd.h>
#include "Bingo.h"

View File

@ -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