From 3ca4fa7c265b9f42d2c6bad2362c6ba6640d1b92 Mon Sep 17 00:00:00 2001 From: Daniel Malea Date: Fri, 28 Jun 2013 19:19:44 +0000 Subject: Remove needless include (unistd.h) in DebugIR pass - should unbreak Windows builds git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185198 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Instrumentation/DebugIR.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/Transforms/Instrumentation/DebugIR.cpp') diff --git a/lib/Transforms/Instrumentation/DebugIR.cpp b/lib/Transforms/Instrumentation/DebugIR.cpp index 2f602be78a..0c85496713 100644 --- a/lib/Transforms/Instrumentation/DebugIR.cpp +++ b/lib/Transforms/Instrumentation/DebugIR.cpp @@ -37,7 +37,6 @@ #include "DebugIR.h" #include -#include #define STR_HELPER(x) #x #define STR(x) STR_HELPER(x) @@ -542,7 +541,6 @@ void DebugIR::writeDebugBitcode(const Module *M, int *fd) { M->print(*Out, 0); Out->close(); - sync(); } void DebugIR::createDebugInfo(Module &M, OwningPtr &DisplayM) { -- cgit v1.2.3