search for: writercontext

Displaying 2 results from an estimated 2 matches for "writercontext".

2006 May 22
1
[LLVMdev] Binary output to cout on Windows
...mentation of LLVM (it probably doesn't occur in Cygwin, but I haven't checked). Namely, when calling llvm-as < input.ll > output.bc OR llvm-as < input.ll | opt outputting to cout is adding \r (the CR character) to newlines. This specifically causes problems in WriterContext::write(...) in lib/Support/Compressor.cpp. Is anyone aware of a way to use a binary mode on cout in Windows (compiled with Visual Studio .NET 2003), or at least disable the inclusion of \r? It would be nice to allow the pipe functionality if it can be done cleanly. ~Michael -------------- next...
2006 May 22
1
[LLVMdev] Binary output to cout on Windows
...n't occur in Cygwin, but I > haven't checked). Namely, when calling > > llvm-as < input.ll > output.bc OR llvm-as < > input.ll | opt > > outputting to cout is adding \r (the CR character) to newlines. This > specifically causes problems in WriterContext::write(...) in > lib/Support/Compressor.cpp. Is anyone aware of a way to use a binary > mode on cout in Windows (compiled with Visual Studio .NET 2003), or at > least disable the inclusion of \r? It would be nice to allow the pipe > functionality if it can be done cleanly. > >...