rust/compiler/rustc_llvm
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
..
llvm-wrapper Emit LLVM optimization remarks when enabled with -Cremark 2021-11-16 08:19:20 +01:00
src Repace use of static_nobundle with native_link_modifiers 2021-10-23 15:51:22 +02:00
build.rs Repace use of static_nobundle with native_link_modifiers 2021-10-23 15:51:22 +02:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00