rust/compiler/rustc_codegen_llvm/src
Matthias Krüger c8247c0a19
Rollup merge of #132259 - mrkajetanp:branch-protection-pauth-lr, r=davidtwco
rustc_codegen_llvm: Add a new 'pc' option to branch-protection

Add a new 'pc' option to -Z branch-protection for aarch64 that enables the use of PC as a diversifier in PAC branch protection code.

When the pauth-lr target feature is enabled in combination with -Z branch-protection=pac-ret,pc, the new 9.5-a instructions (pacibsppc, retaasppc, etc) will be generated.
2024-11-05 20:10:49 +01:00
..
back Reduce dependence on the target name 2024-11-03 18:29:01 +00:00
coverageinfo compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
debuginfo compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
llvm compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
abi.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
allocator.rs Clean up FFI calls for operand bundles 2024-10-30 13:26:24 +11:00
asm.rs Auto merge of #131341 - taiki-e:ppc-clobber-abi, r=bzEq,workingjubilee 2024-11-05 03:13:47 +00:00
attributes.rs Rollup merge of #132259 - mrkajetanp:branch-protection-pauth-lr, r=davidtwco 2024-11-05 20:10:49 +01:00
base.rs Consistently use safe wrapper function set_section 2024-10-30 11:38:20 +11:00
builder.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
callee.rs Use safe wrappers get_visibility and set_visibility 2024-10-26 20:20:20 +11:00
common.rs Clean up FFI calls for operand bundles 2024-10-30 13:26:24 +11:00
consts.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
context.rs Rollup merge of #132259 - mrkajetanp:branch-protection-pauth-lr, r=davidtwco 2024-11-05 20:10:49 +01:00
declare.rs Use a type-safe helper to cast &str and &[u8] to *const c_char 2024-10-28 21:31:32 +11:00
errors.rs mark some target features as 'forbidden' so they cannot be (un)set 2024-11-04 22:56:47 +01:00
intrinsic.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
lib.rs Use &raw in the compiler 2024-09-26 20:33:26 -07:00
llvm_util.rs Auto merge of #129884 - RalfJung:forbidden-target-features, r=workingjubilee 2024-11-05 16:25:45 +00:00
mono_item.rs Use safe wrappers get_visibility and set_visibility 2024-10-26 20:20:20 +11:00
type_.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
type_of.rs compiler: rustc_abi::Abi => BackendRepr 2024-10-29 14:56:00 -07:00
va_arg.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
value.rs Add warn(unreachable_pub) to rustc_codegen_llvm. 2024-08-16 08:46:57 +10:00