aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-01-15 22:53:44 +0000
committerZachary Turner <zturner@google.com>2015-01-15 22:53:44 +0000
commit8f3f7beac4d73a0c4e33f085e6885d37a61efbf7 (patch)
treef18e07f70abcbc1abfa5f38603892877cd326923 /llvm/lib/Object/MachOObjectFile.cpp
parent4013950034f359f846250308e48dce162b86b5c3 (diff)
downloadllvm-8f3f7beac4d73a0c4e33f085e6885d37a61efbf7.zip
llvm-8f3f7beac4d73a0c4e33f085e6885d37a61efbf7.tar.gz
llvm-8f3f7beac4d73a0c4e33f085e6885d37a61efbf7.tar.bz2
During source manager test, write back the file using binary mode.
On Windows, opening with "w" opens it as text instead of binary. This causes translation of newline characters, so that "\n" turns into "\r\n", which in turn leads to git detecting that the file has changed and wanting to commit it. llvm-svn: 226220
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions