rust/compiler/rustc_codegen_llvm/src
Matthias Krüger 924a1d4a7a
Rollup merge of #105932 - MasterAwesome:aarch64-bti-llvm-15, r=nikic
Correct branch-protection ModFlagBehavior for Aarch64 on LLVM-15

When building with Fat LTO and BTI enabled on aarch64, the BTI is set to `Module::Min` for alloc shim but is set to `Module::Error` for the crate. This was fine when we were using LLVM-14 but LLVM-15 changes it's behaviour to support for compiling with different `mbranch-protection` flags.

Refer:
b0343a38a5

fixes https://github.com/rust-lang/rust/issues/102162
2022-12-22 01:01:13 +01:00
..
back don't restuct references just to reborrow 2022-12-18 17:04:32 +01:00
coverageinfo Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
debuginfo Move closure/generator type info methods to TyCtxt 2022-12-07 17:00:33 +00:00
llvm Correct ModFlagBehavior for Aarch64 on LLVM-15 2022-12-19 19:13:17 -08:00
abi.rs Improve generating Custom entry function 2022-11-11 01:04:39 +05:30
allocator.rs Add LLVM KCFI support to the Rust compiler 2022-12-08 17:24:39 -08:00
asm.rs use &str / String literals instead of format!() 2022-12-18 16:17:46 +01:00
attributes.rs Add -Zno-jump-tables 2022-12-20 21:42:54 +01:00
base.rs Remove several unused methods from MiscMethods 2022-10-01 16:45:07 +00:00
builder.rs clippy::complexity fixes 2022-12-19 00:04:28 +01:00
callee.rs Workaround for private global symbol issue 2022-11-18 11:38:31 -08:00
common.rs Introduce a fallible variant of LLVMConstIntGetZExtValue 2022-09-09 15:54:14 +02:00
consts.rs Move linkage type check to HIR analysis and fix semantics issues. 2022-12-05 15:05:43 -08:00
context.rs Use Error behavior for LLVM versions prior to 15 2022-12-20 11:47:11 -08:00
declare.rs Add LLVM KCFI support to the Rust compiler 2022-12-08 17:24:39 -08:00
errors.rs Auto merge of #105421 - jacobbramley:jb/branch-prot-check, r=nagisa 2022-12-17 12:10:27 +00:00
intrinsic.rs Directly return loaded value from type_checked_load 2022-12-03 18:27:43 +00:00
lib.rs Port diagnostics created by Handler 2022-11-09 14:56:21 +01:00
llvm_util.rs Rollup merge of #105026 - oToToT:aarch64-v8a, r=davidtwco 2022-12-02 21:22:47 +01:00
mono_item.rs Fix diag() and formatting 2022-11-09 14:56:20 +01:00
type_.rs Rollup merge of #105109 - rcvalle:rust-kcfi, r=bjorn3 2022-12-10 09:24:43 +01:00
type_of.rs add is_sized method on Abi and Layout, and use it 2022-11-13 12:23:53 +01:00
va_arg.rs Implement va_list and va_arg for s390x FFI 2022-12-19 21:07:57 +01:00
value.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00