forked from OSchip/llvm-project
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:
parent
5795673ef8
commit
651abaf536
|
@ -8,7 +8,6 @@
|
|||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "Bingo.h"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue