rust/compiler
Matthias Krüger 433f1f425e
Rollup merge of #96215 - nikic:legacy-pm-removal, r=nagisa
Drop support for legacy PM with LLVM 15

LLVM 15 already removes some of the legacy PM APIs we're using. This patch forces use of NewPM with LLVM 15 (with `-Z new-llvm-pass-manager=no` throwing a warning) and stubs out various FFI methods with a report_fatal_error on LLVM 15.

For LLVMPassManagerBuilderPopulateLTOPassManager() I went with adding our own wrapper, as the alternative would be to muck about with weak symbols, which seems to be non-trivial as far as cross-platform support is concerned (std has `weak!` for this purpose, but only as an internal utility.)

Fixes #96072.
Fixes #96362.
2022-04-25 00:11:02 +02:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast
rustc_ast_lowering Drop vis in Item. 2022-04-23 09:59:24 +02:00
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_borrowck Rollup merge of #96352 - marmeladema:fix-nll-lifetime-bound-suggestions, r=jackh726 2022-04-24 18:00:27 +02:00
rustc_builtin_macros
rustc_codegen_cranelift Merge commit 'f2cdd4a78d89c009342197cf5844a21f8aa813df' into sync_cg_clif-2022-04-22 2022-04-22 21:11:38 +02:00
rustc_codegen_gcc
rustc_codegen_llvm Rollup merge of #96215 - nikic:legacy-pm-removal, r=nagisa 2022-04-25 00:11:02 +02:00
rustc_codegen_ssa
rustc_const_eval Relax restrictions for copy operands 2022-04-22 16:45:15 -04:00
rustc_data_structures
rustc_driver
rustc_error_codes
rustc_error_messages
rustc_errors
rustc_expand start tracking proc-macros expansion spans in the self-profiler 2022-04-22 18:35:31 +02:00
rustc_feature
rustc_fs_util
rustc_graphviz
rustc_hir Drop vis in Item. 2022-04-23 09:59:24 +02:00
rustc_hir_pretty Stop pretty-printing HIR visibility. 2022-04-23 09:55:25 +02:00
rustc_incremental Rollup merge of #95434 - cjgillot:dump-dep-kind, r=oli-obk 2022-04-21 20:55:18 +02:00
rustc_index
rustc_infer Improve span for consider adding an explicit lifetime bound suggestions under NLL 2022-04-24 09:34:50 +02:00
rustc_interface Rollup merge of #96090 - JakobDegen:mir-tests, r=nagisa 2022-04-25 00:10:59 +02:00
rustc_lexer
rustc_lint Fix lints. 2022-04-23 23:01:19 +02:00
rustc_lint_defs
rustc_llvm
rustc_log
rustc_macros
rustc_metadata Add support for nounused --extern flag 2022-04-23 23:31:54 -07:00
rustc_middle Auto merge of #93970 - cjgillot:novis, r=petrochenkov 2022-04-23 22:25:51 +00:00
rustc_mir_build
rustc_mir_dataflow
rustc_mir_transform Rollup merge of #96090 - JakobDegen:mir-tests, r=nagisa 2022-04-25 00:10:59 +02:00
rustc_monomorphize
rustc_parse
rustc_parse_format
rustc_passes Fix lints. 2022-04-23 23:01:19 +02:00
rustc_plugin_impl
rustc_privacy Compute has_pub_restricted in the resolver. 2022-04-23 23:03:18 +02:00
rustc_query_impl
rustc_query_system
rustc_resolve Compute has_pub_restricted in the resolver. 2022-04-23 23:03:18 +02:00
rustc_save_analysis Drop vis in ImplItem. 2022-04-23 09:57:00 +02:00
rustc_serialize
rustc_session Rollup merge of #96090 - JakobDegen:mir-tests, r=nagisa 2022-04-25 00:10:59 +02:00
rustc_span extend EventArgRecorder into span-aware SpannedEventArgRecorder 2022-04-22 18:06:21 +02:00
rustc_symbol_mangling
rustc_target
rustc_trait_selection
rustc_traits
rustc_ty_utils
rustc_type_ir
rustc_typeck Fix suggestion for _ on return type for fn in impl for Trait 2022-04-24 14:50:48 -07:00