diff options
| author | bors <bors@rust-lang.org> | 2022-02-02 02:29:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-02-02 02:29:32 +0000 |
| commit | d5f9c40e6a9ecc62432e71e886cef83a4c2c9b98 (patch) | |
| tree | 81f0acd2ade399951a45b3b6ad98c15a2c9d9db7 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 1ea4851715893ee3f365a8ef09d47165e9a7864f (diff) | |
| parent | 4e7d47bb6c91f6db5d043a152d11ab7528266d25 (diff) | |
| download | rust-d5f9c40e6a9ecc62432e71e886cef83a4c2c9b98.tar.gz rust-d5f9c40e6a9ecc62432e71e886cef83a4c2c9b98.zip | |
Auto merge of #93466 - cjgillot:query-dead, r=nagisa
Make dead code check a query. Dead code check is run for each invocation of the compiler, even if no modifications were involved. This PR makes dead code check a query keyed on the module. This allows to skip the check when a module has not changed. To perform this, a query `live_symbols_and_ignored_derived_traits` is introduced to encapsulate the global analysis of finding live symbols. The second query `check_mod_deathness` outputs diagnostics for each module based on this first query's results.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
