OSDN Git Service

Replace the F_Binary flag with a F_Text one.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 24 Feb 2014 18:20:12 +0000 (18:20 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 24 Feb 2014 18:20:12 +0000 (18:20 +0000)
commitac69459e0fe3df04788f5adcb94b1bec8b8cf8ad
tree6260ace05d8d32042f39b42aead973d7c3ebaf9a
parent137342f198093f68e112cd979782fae27bbb22ab
Replace the F_Binary flag with a F_Text one.

After this I will set the default back to F_None. The advantage is that
before this patch forgetting to set F_Binary would corrupt a file on windows.
Forgetting to set F_Text produces one that cannot be read in notepad, which
is a better failure mode :-)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202052 91177308-0d34-0410-b5e6-96231b3b80d8
35 files changed:
examples/BrainF/BrainFDriver.cpp
include/llvm/Analysis/DOTGraphTraitsPass.h
include/llvm/Support/FileSystem.h
lib/Analysis/CFGPrinter.cpp
lib/Bitcode/Writer/BitWriter.cpp
lib/CodeGen/MachineVerifier.cpp
lib/CodeGen/RegAllocPBQP.cpp
lib/IR/Core.cpp
lib/IR/GCOV.cpp
lib/LTO/LTOCodeGenerator.cpp
lib/MC/MCParser/DarwinAsmParser.cpp
lib/Support/Path.cpp
lib/Support/Timer.cpp
lib/Support/Windows/Path.inc
lib/Support/raw_ostream.cpp
lib/TableGen/Main.cpp
lib/Target/TargetMachineC.cpp
lib/Transforms/Instrumentation/DebugIR.cpp
lib/Transforms/Instrumentation/GCOVProfiling.cpp
tools/bugpoint/OptimizerDriver.cpp
tools/llc/llc.cpp
tools/lli/lli.cpp
tools/llvm-ar/llvm-ar.cpp
tools/llvm-as/llvm-as.cpp
tools/llvm-dis/llvm-dis.cpp
tools/llvm-extract/llvm-extract.cpp
tools/llvm-link/llvm-link.cpp
tools/llvm-lto/llvm-lto.cpp
tools/llvm-mc/llvm-mc.cpp
tools/llvm-objdump/llvm-objdump.cpp
tools/llvm-profdata/llvm-profdata.cpp
tools/llvm-stress/llvm-stress.cpp
tools/opt/opt.cpp
unittests/Support/Path.cpp
utils/FileUpdate/FileUpdate.cpp