rust/compiler/rustc_codegen_llvm/src
Matthias Krüger 67762ffe35
Rollup merge of #90833 - tmiasko:optimization-remarks, r=nikic
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.

Fixes #90924.

r? `@nikic`
2021-11-28 23:45:17 +01:00
..
back Emit LLVM optimization remarks when enabled with -Cremark 2021-11-16 08:19:20 +01:00
coverageinfo Fix clippy lints 2021-10-01 23:17:19 +02:00
debuginfo Rename functions reflect that inline const is also "typeck_child" 2021-11-07 04:00:34 +00:00
llvm Rollup merge of #90833 - tmiasko:optimization-remarks, r=nikic 2021-11-28 23:45:17 +01:00
abi.rs Feat: make cg_ssa get_param borrow the builder mutable 2021-11-23 22:30:20 -05:00
allocator.rs Include debug info for the allocator shim 2021-08-31 15:24:20 -07:00
asm.rs Update more rustc/libtest things for wasm64 2021-11-10 08:35:42 -08:00
attributes.rs add rustc option for using LLVM stack smash protection 2021-11-22 20:06:22 +01:00
base.rs Make hash_result an Option. 2021-10-20 18:29:18 +02:00
builder.rs Use more robust checks in rustc for wasm 2021-11-10 08:35:42 -08:00
callee.rs add platform support details file for armv7-unknown-linux-uclibc 2021-10-06 14:33:13 +00:00
common.rs Make abi::Abi Copy and remove a *lot* of refs 2021-09-09 10:41:19 +02:00
consts.rs Use more robust checks in rustc for wasm 2021-11-10 08:35:42 -08:00
context.rs Remove workaround for the forward progress handling in LLVM 2021-11-14 16:35:09 +01:00
declare.rs Remove the decl arg from FnAbi::llvm_type 2021-08-05 10:58:55 -07:00
intrinsic.rs Remove workaround for the forward progress handling in LLVM 2021-11-14 16:35:09 +01:00
lib.rs add rustc option for using LLVM stack smash protection 2021-11-22 20:06:22 +01:00
llvm_util.rs Disable .debug_aranges for all wasm targets 2021-11-10 10:47:00 -08:00
mono_item.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
type_.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
type_of.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
va_arg.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
value.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00