diff options
| author | Rémy Rakic <remy.rakic+github@gmail.com> | 2023-07-14 14:26:15 +0000 |
|---|---|---|
| committer | Rémy Rakic <remy.rakic+github@gmail.com> | 2023-08-01 21:01:20 +0000 |
| commit | 77d01103a3b6d4cd0c1713d2f17233c620c7747d (patch) | |
| tree | f5b4318320597eaabf7880b889fa1e612d5eea66 /compiler/rustc_codegen_llvm/src/back/write.rs | |
| parent | 598acffa609f1179d13f6d6004fec0b4bcf20b50 (diff) | |
| download | rust-77d01103a3b6d4cd0c1713d2f17233c620c7747d.tar.gz rust-77d01103a3b6d4cd0c1713d2f17233c620c7747d.zip | |
filter LLVM diagnostics before crossing the rust bridge
this will eliminate many short-lived allocations (e.g. 20% of the memory used building cargo) when unpacking the diagnostic and converting its various C++ strings into rust strings, just to be filtered out most of the time.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back/write.rs')
0 files changed, 0 insertions, 0 deletions
