diff options
author | Francois Pichet <pichet2000@gmail.com> | 2010-10-14 20:30:58 +0000 |
---|---|---|
committer | Francois Pichet <pichet2000@gmail.com> | 2010-10-14 20:30:58 +0000 |
commit | a872a0f5f800b352ab9af9d0f1e975ea0dead4ef (patch) | |
tree | 7c0ac819dfebcb895aa102bb13e6dec9e58eb1d3 /lib/MC/ELFObjectWriter.cpp | |
parent | 1de588df69ceb999dd4680679cc3fe519bf9a124 (diff) |
Always use binary mode for output stream. This is important to prevent unwanted end of line conversion on Windows. Should not affect Unix where O_BINARY is not defined. This fix /clang/test/lexer/preamble.c XFAIL on WIN32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116509 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/ELFObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions