mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
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
This commit is contained in:
parent
e16e687034
commit
3ca4fa7c26
@ -37,7 +37,6 @@
|
|||||||
#include "DebugIR.h"
|
#include "DebugIR.h"
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
#define STR_HELPER(x) #x
|
#define STR_HELPER(x) #x
|
||||||
#define STR(x) STR_HELPER(x)
|
#define STR(x) STR_HELPER(x)
|
||||||
@ -542,7 +541,6 @@ void DebugIR::writeDebugBitcode(const Module *M, int *fd) {
|
|||||||
|
|
||||||
M->print(*Out, 0);
|
M->print(*Out, 0);
|
||||||
Out->close();
|
Out->close();
|
||||||
sync();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void DebugIR::createDebugInfo(Module &M, OwningPtr<Module> &DisplayM) {
|
void DebugIR::createDebugInfo(Module &M, OwningPtr<Module> &DisplayM) {
|
||||||
|
Loading…
Reference in New Issue
Block a user