[compiler-rt] r341473 - Enable symbolize-deadlock.test on Windows

Max Moroz via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 5 07:43:38 PDT 2018


Author: dor1s
Date: Wed Sep  5 07:43:38 2018
New Revision: 341473

URL: http://llvm.org/viewvc/llvm-project?rev=341473&view=rev
Log:
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

Modified:
    compiler-rt/trunk/test/fuzzer/SymbolizeDeadlock.cpp
    compiler-rt/trunk/test/fuzzer/symbolize-deadlock.test

Modified: compiler-rt/trunk/test/fuzzer/SymbolizeDeadlock.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/fuzzer/SymbolizeDeadlock.cpp?rev=341473&r1=341472&r2=341473&view=diff
==============================================================================
--- compiler-rt/trunk/test/fuzzer/SymbolizeDeadlock.cpp (original)
+++ compiler-rt/trunk/test/fuzzer/SymbolizeDeadlock.cpp Wed Sep  5 07:43:38 2018
@@ -8,7 +8,6 @@
 #include <cstdio>
 #include <cstdlib>
 #include <cstring>
-#include <unistd.h>
 
 #include "Bingo.h"
 

Modified: compiler-rt/trunk/test/fuzzer/symbolize-deadlock.test
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/fuzzer/symbolize-deadlock.test?rev=341473&r1=341472&r2=341473&view=diff
==============================================================================
--- compiler-rt/trunk/test/fuzzer/symbolize-deadlock.test (original)
+++ compiler-rt/trunk/test/fuzzer/symbolize-deadlock.test Wed Sep  5 07:43:38 2018
@@ -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




More information about the llvm-commits mailing list