about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-21 17:10:02 +0000
committerbors <bors@rust-lang.org>2023-05-21 17:10:02 +0000
commitaee196fb14207584ac384c502309b67d35d0555a (patch)
treee985c27c0c4f96e45f549ac9757e7e562d9b6baf /compiler/rustc_codegen_llvm/src/errors.rs
parenta4fb4147ebd2816d7a756edd13cb4a285c083e77 (diff)
parent56eb08735be451a3351543bf5c98d0e51c9fa036 (diff)
downloadrust-aee196fb14207584ac384c502309b67d35d0555a.tar.gz
rust-aee196fb14207584ac384c502309b67d35d0555a.zip
Auto merge of #2899 - saethlin:measureme-cleanup, r=RalfJung
Try to ensure measureme output is valid when the interpreter is interrupted

Dropping our `measureme::Profiler` will have the profiler flush its output buffer and write out its string table. If the profiler's `Drop` impl does not run, the output file is not usable.

This approach has zero runtime overhead.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions