rust/compiler/rustc_codegen_llvm/src/back
Tomasz Miąsko 6846674c75 Emit LLVM optimization remarks when enabled with -Cremark
The default diagnostic handler considers all remarks to be disabled by
default unless configured otherwise through LLVM internal flags:
`-pass-remarks`, `-pass-remarks-missed`, and `-pass-remarks-analysis`.
This behaviour makes `-Cremark` ineffective on its own.

Fix this by configuring a custom diagnostic handler that enables
optimization remarks based on the value of `-Cremark` option. With
`-Cremark=all` enabling all remarks.
2021-11-16 08:19:20 +01:00
..
archive.rs Rollup merge of #89025 - ricobbe:raw-dylib-link-ordinal, r=michaelwoerister 2021-10-07 20:26:11 -07:00
lto.rs Default to disabling the new pass manager for the s390x targets. 2021-10-08 15:05:07 +02:00
profiling.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
write.rs Emit LLVM optimization remarks when enabled with -Cremark 2021-11-16 08:19:20 +01:00