diff options
| author | bors <bors@rust-lang.org> | 2021-12-29 22:35:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-12-29 22:35:11 +0000 |
| commit | d331cb710f0dd969d779510a49a3bafc7f78a54e (patch) | |
| tree | ff97d24d16d1380b3fea3dd0ae3cbb23828596ba /compiler/rustc_codegen_llvm/src/declare.rs | |
| parent | 78fd0f633faaa5b6dd254fc1456735f63a1b1238 (diff) | |
| parent | 984ca4689dbceea29bbfcf54c4743b45fccf7ad1 (diff) | |
| download | rust-d331cb710f0dd969d779510a49a3bafc7f78a54e.tar.gz rust-d331cb710f0dd969d779510a49a3bafc7f78a54e.zip | |
Auto merge of #88354 - Jmc18134:hint-space-pauth-opt, r=nagisa
Add codegen option for branch protection and pointer authentication on AArch64 The branch-protection codegen option enables the use of hint-space pointer authentication code for AArch64 targets.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/declare.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/declare.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/declare.rs b/compiler/rustc_codegen_llvm/src/declare.rs index 90d0d5caba1..a6e06ffa819 100644 --- a/compiler/rustc_codegen_llvm/src/declare.rs +++ b/compiler/rustc_codegen_llvm/src/declare.rs @@ -47,6 +47,7 @@ fn declare_raw_fn<'ll>( attributes::default_optimisation_attrs(cx.tcx.sess, llfn); attributes::non_lazy_bind(cx.sess(), llfn); + llfn } |
