diff options
author | Daniel Malea <daniel.malea@intel.com> | 2013-06-28 19:19:44 +0000 |
---|---|---|
committer | Daniel Malea <daniel.malea@intel.com> | 2013-06-28 19:19:44 +0000 |
commit | b17b1cd6f5db45b88f45b1ba87c3c3f175ac9946 (patch) | |
tree | 7b801065461e40fe7b11f00e762da46bad29b715 /llvm/lib/Transforms/Instrumentation/DebugIR.cpp | |
parent | a960c54d3a1d05693c721527f83512404921d33b (diff) | |
download | bcm5719-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.cpp | 2 |
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) { |