summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitb17b1cd6f5db45b88f45b1ba87c3c3f175ac9946 (patch)
tree7b801065461e40fe7b11f00e762da46bad29b715 /llvm/lib/Transforms/Instrumentation/DebugIR.cpp
parenta960c54d3a1d05693c721527f83512404921d33b (diff)
downloadbcm5719-llvm-b17b1cd6f5db45b88f45b1ba87c3c3f175ac9946.tar.gz
bcm5719-llvm-b17b1cd6f5db45b88f45b1ba87c3c3f175ac9946.zip
Remove needless include (unistd.h) in DebugIR pass
- should unbreak Windows builds llvm-svn: 185198
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/DebugIR.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/DebugIR.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/DebugIR.cpp b/llvm/lib/Transforms/Instrumentation/DebugIR.cpp
index 2f602be78a0..0c85496713c 100644
--- a/llvm/lib/Transforms/Instrumentation/DebugIR.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud