rust/compiler
bors e2b52ff73e Auto merge of #99464 - nikic:llvm-15, r=cuviper
Update to LLVM 15

For preliminary testing. Some LLVM 15 compatibility fixes were applied separately in #99512.

Release timeline:
 * LLVM 15 branched on Jul 26.
 * The final LLVM 15.0.0 release is scheduled for Sep 6.
 * Current nightly (1.65.0) is scheduled for Nov 3.

Changes in this PR (apart from the LLVM update):
 * Pass `--set llvm.allow-old-toolchain` for many Docker images. LLVM 16 will require GCC >= 7.1, while LLVM 15 still allows older compilers with an option. Specify the option for builders still using GCC 5.4. #95026 updated some of the used toolchains, but not all.
 * Use the `+atomics-32` target feature for thumbv6m.
 * Explicitly link libatomic when cross-compiling LLVM to 32-bit target.
 * Explicitly disable zstd support, to avoid libzstd.so dependency.

New LLVM patches ([commits](https://github.com/rust-lang/llvm-project/commits/rustc/15.0-2022-08-09)):
 * [rust-only] Fix ICE with GCC 5.4 (15be58d7f0)
 * [rust-only] Fix build with GCC 5.4 (774edc10fa)
 * ~~[rust-only] Fix build with GCC 5.2 (1a6069a7bb)~~
 * ~~[rust-only] Fix ICE with GCC 5.2 (493081f290)~~
 * ~~[rust-only] Fix build with GCC 5.2 (0fc5979d73)~~
 * [backported] Addition of `+atomics` target feature (57bdd9892d).
 * [backported] Revert compiler-rt change that broke powerpc (9c68b43915)
 * [awaiting backport] Fix RelLookupTableConverter on gnux32 (639388a05f / https://github.com/llvm/llvm-project/issues/57021)

Tested images: dist-x86_64-linux, armhf-gnu, arm-android, dist-s390x-linux, dist-x86_64-illumos, dist-x86_64-freebsd, wasm32, dist-x86_64-musl, dist-various-1, dist-riscv64-linux, dist-mips-linux, dist-mipsel-linux, dist-powerpc-linux, dist-aarch64-linux, dist-x86_64-apple, x86_64-msvc-1, x86_64-msvc-2, dist-various-2, dist-arm-linux
Tested up to the usual ipv6 error: test-various, i686-gnu, x86_64-gnu-nopt

r? `@ghost`
2022-08-12 02:58:51 +00:00
..
rustc Don't rerun the build script for the compiler each time on linux 2022-07-10 23:57:25 -05:00
rustc_apfloat Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
rustc_arena Stabilize ptr_const_cast 2022-08-10 17:22:58 +02:00
rustc_ast Rollup merge of #100392 - nnethercote:simplify-visitors, r=cjgillot 2022-08-11 22:53:08 +02:00
rustc_ast_lowering Rollup merge of #100392 - nnethercote:simplify-visitors, r=cjgillot 2022-08-11 22:53:08 +02:00
rustc_ast_passes Rollup merge of #100392 - nnethercote:simplify-visitors, r=cjgillot 2022-08-11 22:53:08 +02:00
rustc_ast_pretty Rollup merge of #100350 - jhpratt:stringify-vis, r=cjgillot 2022-08-11 22:53:06 +02:00
rustc_attr Panic when checking an unknown stability attribute 2022-07-31 16:02:45 +04:00
rustc_borrowck Use &mut Diagnostic instead of &mut DiagnosticBuilder unless needed 2022-08-10 03:45:42 +00:00
rustc_builtin_macros Rollup merge of #100392 - nnethercote:simplify-visitors, r=cjgillot 2022-08-11 22:53:08 +02:00
rustc_codegen_cranelift also update anyhow in codegen_cranelift 2022-08-08 09:04:26 -04:00
rustc_codegen_gcc Introduce an ArchiveBuilderBuilder 2022-07-28 09:08:47 +00:00
rustc_codegen_llvm Pass +atomics-32 feature for thumbv6m target 2022-08-09 12:39:59 +02:00
rustc_codegen_ssa Rollup merge of #99500 - tmandry:fuchsia-flags, r=petrochenkov 2022-08-11 22:52:59 +02:00
rustc_const_eval Rollup merge of #100391 - nnethercote:improve-size-assertions, r=lqd 2022-08-11 22:47:05 +05:30
rustc_data_structures remove some manual hash stable impls 2022-07-29 12:48:28 +02:00
rustc_driver Error on broken pipe but do not ICE 2022-08-02 01:08:50 +01:00
rustc_error_codes region_outlives_predicate no snapshot 2022-07-21 13:09:01 +02:00
rustc_error_messages link_ordinal is available for foreign static 2022-08-04 09:28:59 +08:00
rustc_errors Rollup merge of #99573 - tbodt:stabilize-backtrace, r=yaahc 2022-08-10 07:21:33 +02:00
rustc_expand Use &mut Diagnostic instead of &mut DiagnosticBuilder unless needed 2022-08-10 03:45:42 +00:00
rustc_feature Rollup merge of #96478 - WaffleLapkin:rustc_default_body_unstable, r=Aaron1011 2022-08-09 17:34:50 +05:30
rustc_fs_util
rustc_graphviz
rustc_hir Rollup merge of #100392 - nnethercote:simplify-visitors, r=cjgillot 2022-08-11 22:53:08 +02:00
rustc_hir_pretty use rustc_hir_pretty::qpath_to_string to avoid span_to_snippet when rendering path 2022-07-17 04:58:38 +00:00
rustc_incremental Remove trait_of_item query. 2022-08-01 21:39:26 +02:00
rustc_index Auto merge of #99052 - tmiasko:bitset-clone-from, r=Mark-Simulacrum 2022-07-31 21:40:21 +00:00
rustc_infer don't normalize wf predicates 2022-08-09 12:54:32 +02:00
rustc_interface Rollup merge of #99519 - Urgau:check-cfg-implicit, r=petrochenkov 2022-07-31 23:39:38 +02:00
rustc_lexer Shrink Token. 2022-08-01 08:53:04 +10:00
rustc_lint Rollup merge of #100392 - nnethercote:simplify-visitors, r=cjgillot 2022-08-11 22:53:08 +02:00
rustc_lint_defs Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
rustc_llvm Link libatomic on 32-bit targets 2022-08-09 12:39:59 +02:00
rustc_log
rustc_macros dedupe 'annotate-snippets' crate versions 2022-08-02 21:07:01 +03:00
rustc_metadata Add error if link_ordinal used without raw-dylib 2022-08-09 11:02:41 -07:00
rustc_middle Rollup merge of #100391 - nnethercote:improve-size-assertions, r=lqd 2022-08-11 22:47:05 +05:30
rustc_mir_build Rollup merge of #99110 - audunhalland:match_has_guard_from_candidate, r=pnkfelix 2022-08-11 22:46:57 +05:30
rustc_mir_dataflow Remove redundant TransferWrapper struct 2022-08-01 17:08:19 +02:00
rustc_mir_transform Rollup merge of #100392 - nnethercote:simplify-visitors, r=cjgillot 2022-08-11 22:53:08 +02:00
rustc_monomorphize Use LocalDefId for closures more 2022-07-30 15:59:17 -05:00
rustc_parse Rollup merge of #100350 - jhpratt:stringify-vis, r=cjgillot 2022-08-11 22:53:06 +02:00
rustc_parse_format add a comment about what we can parse now 2022-08-04 20:43:35 +09:00
rustc_passes Rollup merge of #100392 - nnethercote:simplify-visitors, r=cjgillot 2022-08-11 22:53:08 +02:00
rustc_plugin_impl
rustc_privacy Simplify rustc_hir::intravisit::Visitor::visit_variant_data. 2022-08-11 10:54:01 +10:00
rustc_query_impl Use LocalDefId for closures more 2022-07-30 15:59:17 -05:00
rustc_query_system Remove useless closure. 2022-07-29 22:11:23 +02:00
rustc_resolve Rollup merge of #100392 - nnethercote:simplify-visitors, r=cjgillot 2022-08-11 22:53:08 +02:00
rustc_save_analysis Remove DefId from AssocItemContainer. 2022-08-01 21:38:45 +02:00
rustc_serialize Upgrade indexmap and thorin-dwp to use hashbrown 0.12 2022-07-17 07:05:58 -07:00
rustc_session Rollup merge of #99620 - hudson-ayers:fix-location-detail, r=davidtwco 2022-07-31 23:39:40 +02:00
rustc_smir
rustc_span Rollup merge of #96478 - WaffleLapkin:rustc_default_body_unstable, r=Aaron1011 2022-08-09 17:34:50 +05:30
rustc_symbol_mangling Auto merge of #95548 - rcvalle:rust-cfi-2, r=nagisa 2022-07-24 01:22:36 +00:00
rustc_target Auto merge of #99464 - nikic:llvm-15, r=cuviper 2022-08-12 02:58:51 +00:00
rustc_trait_selection Auto merge of #100315 - compiler-errors:norm-ct-in-proj, r=lcnr 2022-08-11 10:47:48 +00:00
rustc_traits Rollup merge of #100095 - jackh726:early-binder, r=lcnr 2022-08-04 22:25:04 +02:00
rustc_transmute safe transmute: fix broken intradoc link 2022-08-02 14:44:23 +00:00
rustc_ty_utils Add bound_impl_subject and bound_return_ty 2022-08-03 01:02:46 -04:00
rustc_type_ir Inline DebruijnIndex methods 2022-07-22 17:00:49 +02:00
rustc_typeck Rollup merge of #100351 - compiler-errors:diagnostic-convention, r=fee1-dead 2022-08-11 22:47:03 +05:30