summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/DebugIR.cpp
diff options
context:
space:
mode:
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