aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2009-08-31 06:58:09 +0000
committerTanya Lattner <tonic@nondot.org>2009-08-31 06:58:09 +0000
commit0597fd967b73ae6fd65f3b7a070a942ca8028977 (patch)
tree6a2a0fc84bc01a4c6caa0fa687368407972fa8b0 /lib/CodeGen/MachineModuleInfo.cpp
parentbc252b7a782348b15b9b6be3b08b4eda93fbb861 (diff)
Merge 79862 from mainline.
Fix off-by-one in llvm::Format::print. - This also shortens the Format.h implementation, and uses the print buffer fully (it was wasting a character). - This manifested as llvm-test failures, because one side effect was that raw_ostream would write garbage '\x00' values into the output stream if it happened that the string was at the end of the buffer. This meant that grep would report 'Binary file matches', which meant the silly pattern matching llvm-test eventually does would fail. Cute. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@80563 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions