rust/compiler/rustc_codegen_ssa/src
Matthias Krüger aec60c6b7c
Rollup merge of #104797 - weihanglo:stream-write-dwp, r=jackh726
rustc_codegen_ssa: write `.dwp` in a streaming fashion

When writing a `.dwp` file, rustc writes to a Vec first then to a BufWriter-wrapped file. It seems very likely that we can write in a streaming fashion to avoid double buffering in an intermediate Vec.

On my Linux machine, `.dwp` from the latest rust-lang/cargo is 113MiB. It may worth a stream writer, though I didn't do any benchmark 🙇🏾‍♂️.
2022-11-25 18:35:40 +01:00
..
back rustc_codegen_ssa: write .dwp in a streaming fashion 2022-11-24 00:59:04 +00:00
coverageinfo Remove in_band_lifetimes from rustc_codegen_ssa 2021-12-15 00:41:41 -05:00
debuginfo [debuginfo] Make debuginfo type names for slices and str consistent. 2022-10-31 15:43:44 +01:00
mir Properly handle Pin<&mut dyn* Trait> receiver in codegen 2022-11-24 01:10:25 +00:00
traits Auto merge of #103138 - nnethercote:merge-BBs, r=bjorn3 2022-11-17 01:56:24 +00:00
base.rs linker: Simplify linking of compiler_builtins and profiler_builtins 2022-11-12 23:02:33 +03:00
common.rs Simplify cast_shift_expr_rhs. 2022-10-25 14:39:20 +11:00
errors.rs Issue error when -C link-self-contained option is used on unsupported platforms 2022-11-14 22:21:24 -06:00
glue.rs add is_sized method on Abi and Layout, and use it 2022-11-13 12:23:53 +01:00
lib.rs Merge basic blocks where possible when generating LLVM IR. 2022-11-16 15:46:39 +11:00
meth.rs Call destructors when dyn* object goes out of scope 2022-09-12 16:55:57 -07:00
mono_item.rs Store a LocalDefId in hir::AnonConst. 2022-11-13 14:06:11 +00:00
target_features.rs Allow power10-vector feature in PowerPC 2022-11-22 14:45:56 +08:00