summaryrefslogtreecommitdiff
path: root/lib/Transforms/Instrumentation/DebugIR.cpp
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2013-06-28 19:19:44 +0000
committerDaniel Malea <daniel.malea@intel.com>2013-06-28 19:19:44 +0000
commit3ca4fa7c265b9f42d2c6bad2362c6ba6640d1b92 (patch)
tree4e29a5be42cf3109824ab74dda15821c2d10f540 /lib/Transforms/Instrumentation/DebugIR.cpp
parente16e687034fb416f9e6f90d8e169cc8633c34f35 (diff)
downloadllvm-3ca4fa7c265b9f42d2c6bad2362c6ba6640d1b92.tar.gz
llvm-3ca4fa7c265b9f42d2c6bad2362c6ba6640d1b92.tar.bz2
llvm-3ca4fa7c265b9f42d2c6bad2362c6ba6640d1b92.tar.xz
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
Diffstat (limited to 'lib/Transforms/Instrumentation/DebugIR.cpp')
-rw-r--r--lib/Transforms/Instrumentation/DebugIR.cpp2
1 files changed, 0 insertions, 2 deletions
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 <string>
-#include <unistd.h>
#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<Module> &DisplayM) {