about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorMikhail Zabaluev <mikhail.zabaluev@gmail.com>2020-11-04 23:55:41 +0200
committerMikhail Zabaluev <mikhail.zabaluev@gmail.com>2020-11-22 17:05:13 +0200
commit53196a8bcfe80db551aa9417ce93766c7ee0e46d (patch)
treef0a660951b46a7999dff1b0a837840419b0ee05a /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent5d5ff84130da0d74c6ece368dbe821d8f83fa526 (diff)
downloadrust-53196a8bcfe80db551aa9417ce93766c7ee0e46d.tar.gz
rust-53196a8bcfe80db551aa9417ce93766c7ee0e46d.zip
Optimize write_vectored for BufWriter
If the underlying writer does not support efficient vectored output,
do it differently: always try to coalesce the slices in the buffer
until one comes that does not fit entirely. Flush the buffer before
the first slice if needed.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions