[llvm-commits] patch: flush raw_ostream after AsmPrinting function
Preston Gurd
pgurd at rapidmind.com
Fri Oct 31 09:42:09 PDT 2008
When printing the generated assembly code for a function to a
raw_ostream using the -print-emitted-asm option, flush the raw_ostream
output to avoid the possibility of having the last partial buffer be
separated from the rest of the generated code output by other output to
the same device, but using a different output stream.
Since I do not have permission to commit to the llvm trunk, could one of
you please review and commit this (very small!) patch? Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flush.diff
Type: text/x-patch
Size: 1488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20081031/2094b894/attachment.bin>
More information about the llvm-commits
mailing list