rust/compiler
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
..
rustc
rustc_apfloat
rustc_arena
rustc_ast Auto merge of #89316 - asquared31415:multiple-clobber-abi, r=Amanieu 2021-11-12 16:29:25 +00:00
rustc_ast_lowering Add support for specifying multiple clobber_abi in asm! 2021-11-10 01:06:03 -05:00
rustc_ast_passes rustc_feature: Convert BuiltinAttribute from tuple to a struct 2021-11-12 20:15:14 +08:00
rustc_ast_pretty Add support for specifying multiple clobber_abi in asm! 2021-11-10 01:06:03 -05:00
rustc_attr
rustc_borrowck Stabilize format_args_capture 2021-11-15 10:14:29 +01:00
rustc_builtin_macros Stabilize format_args_capture 2021-11-15 10:14:29 +01:00
rustc_codegen_cranelift
rustc_codegen_gcc
rustc_codegen_llvm Emit LLVM optimization remarks when enabled with -Cremark 2021-11-16 08:19:20 +01:00
rustc_codegen_ssa Rollup merge of #90058 - joshtriplett:stabilize-strip, r=wesleywiser 2021-11-16 09:14:16 +09:00
rustc_const_eval Rollup merge of #90892 - RalfJung:miri-partial-ptr-copy, r=oli-obk 2021-11-16 09:14:22 +09:00
rustc_data_structures more clippy fixes 2021-11-07 16:59:05 +01:00
rustc_driver Don't proceed to codegen if there are lint errors 2021-11-08 01:22:28 +00:00
rustc_error_codes Update Copy/Clone documentation WRT arrays 2021-11-08 13:11:59 -05:00
rustc_errors Stabilize format_args_capture 2021-11-15 10:14:29 +01:00
rustc_expand Stabilize format_args_capture 2021-11-15 10:14:29 +01:00
rustc_feature Stabilize format_args_capture 2021-11-15 10:14:29 +01:00
rustc_fs_util
rustc_graphviz
rustc_hir Give inline const separate DefKind 2021-11-07 03:59:06 +00:00
rustc_hir_pretty
rustc_incremental Remove rustc_incremental::persist::fs::dep_graph_path_from 2021-11-09 10:58:11 -06:00
rustc_index Generate documentation in rustc rustc_index::newtype_index macro 2021-11-13 18:50:29 -06:00
rustc_infer Use associated_item_def_ids more 2021-11-11 23:15:57 +00:00
rustc_interface Stabilize -Z strip as -C strip 2021-11-15 10:21:02 +01:00
rustc_lexer use matches!() macro in more places 2021-11-06 16:13:14 +01:00
rustc_lint Stabilize format_args_capture 2021-11-15 10:14:29 +01:00
rustc_lint_defs Properly register text_direction_codepoint_in_comment lint. 2021-11-05 20:12:40 +01:00
rustc_llvm Emit LLVM optimization remarks when enabled with -Cremark 2021-11-16 08:19:20 +01:00
rustc_macros more clippy fixes 2021-11-07 16:59:05 +01:00
rustc_metadata Add ty::Visibility::is_public() 2021-11-09 18:35:00 -08:00
rustc_middle Use associated_item_def_ids more 2021-11-11 23:15:57 +00:00
rustc_mir_build Auto merge of #90813 - notriddle:notriddle/vec-extend, r=GuillaumeGomez 2021-11-12 12:13:32 +00:00
rustc_mir_dataflow Use associated_item_def_ids more 2021-11-11 23:15:57 +00:00
rustc_mir_transform impl Copy/Clone for arrays in std, not in compiler 2021-11-08 13:11:58 -05:00
rustc_monomorphize Rollup merge of #90701 - michaelwoerister:more-artifact-sizes, r=davidtwco 2021-11-09 19:00:45 +01:00
rustc_parse rustc_feature: Convert BuiltinAttribute from tuple to a struct 2021-11-12 20:15:14 +08:00
rustc_parse_format
rustc_passes Stabilize format_args_capture 2021-11-15 10:14:29 +01:00
rustc_plugin_impl
rustc_privacy Add ty::Visibility::is_public() 2021-11-09 18:35:00 -08:00
rustc_query_impl
rustc_query_system Auto merge of #90361 - Mark-Simulacrum:always-verify, r=michaelwoerister 2021-11-08 13:38:08 +00:00
rustc_resolve Stabilize format_args_capture 2021-11-15 10:14:29 +01:00
rustc_save_analysis Give inline const separate DefKind 2021-11-07 03:59:06 +00:00
rustc_serialize
rustc_session Stabilize -Z strip as -C strip 2021-11-15 10:21:02 +01:00
rustc_span Auto merge of #90485 - camsteffen:fmt-args-less-bind, r=m-ou-se 2021-11-09 05:33:16 +00:00
rustc_symbol_mangling
rustc_target Android is not GNU 2021-11-12 09:09:08 -08:00
rustc_trait_selection Use associated_item_def_ids more 2021-11-11 23:15:57 +00:00
rustc_traits Make select_* methods return Vec for TraitEngine 2021-11-08 23:35:23 +08:00
rustc_ty_utils impl Copy/Clone for arrays in std, not in compiler 2021-11-08 13:11:58 -05:00
rustc_type_ir
rustc_typeck Auto merge of #90827 - matthewjasper:assoc-item-cleanup-2, r=cjgillot 2021-11-15 23:27:59 +00:00