forked from OSchip/llvm-project
dd42236c6c
Currently we have -Rpass for filtering the remarks that are displayed as diagnostics, but when using -fsave-optimization-record, there is no way to filter the remarks while generating them. This adds support for filtering remarks by passes using a regex. Ex: `clang -fsave-optimization-record -foptimization-record-passes=inline` will only emit the remarks coming from the pass `inline`. This adds: * `-fsave-optimization-record` to the driver * `-opt-record-passes` to cc1 * `-lto-pass-remarks-filter` to the LTOCodeGenerator * `--opt-remarks-passes` to lld * `-pass-remarks-filter` to llc, opt, llvm-lto, llvm-lto2 * `-opt-remarks-passes` to gold-plugin Differential Revision: https://reviews.llvm.org/D59268 Original llvm-svn: 355964 llvm-svn: 355984 |
||
---|---|---|
.. | ||
Inputs | ||
alias-alias.ll | ||
alias.ll | ||
asm-output.ll | ||
available-externally.ll | ||
cache-dso-local.ll | ||
cache-dso-local2.ll | ||
cache-prevailing.ll | ||
comdat-mixed-lto.ll | ||
comdat.ll | ||
common2.ll | ||
commons.ll | ||
dead-strip-alias.ll | ||
dead-strip-fulllto.ll | ||
diagnostic-handler-remarks-with-hotness.ll | ||
diagnostic-handler-remarks.ll | ||
empty-bitcode.test | ||
export-jumptable.ll | ||
function-alias-non-prevailing.ll | ||
ifunc.ll | ||
intrinsic.ll | ||
link-odr-availextern.ll | ||
linker-redef-thin.ll | ||
linker-redef.ll | ||
linkonce.ll | ||
lit.local.cfg | ||
load-sample-prof-icp.ll | ||
load-sample-prof-lto.ll | ||
load-sample-prof.ll | ||
local-def-dllimport.ll | ||
lowertypetests.ll | ||
lto-unit-check.ll | ||
mixed_lto.ll | ||
mod-asm-used.ll | ||
multi-thinlto.ll | ||
not-prevailing-alias.ll | ||
not-prevailing-variables.ll | ||
not-prevailing.ll | ||
setting-dso-local.ll | ||
symtab-elf.ll | ||
symtab.ll | ||
type-checked-load.ll |