We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cc0fed commit 2077515Copy full SHA for 2077515
1 file changed
compiler/rustc_codegen_llvm/src/base.rs
@@ -125,8 +125,8 @@ pub(crate) fn compile_codegen_unit(
125
maybe_create_entry_wrapper::<Builder<'_, '_, '_>>(&cx, cx.codegen_unit)
126
{
127
let mut attrs = attributes::sanitize_attrs(&cx, tcx, SanitizerFnAttrs::default());
128
- // For pauthtest make sure that the ptrauth-* attributes are also attached to the
129
- // entry wrapper.
+ // When pointer authentication is enabled, ensure that the ptrauth-* attributes are
+ // also attached to the entry wrapper.
130
if cx.sess().target.env == Env::Pauthtest {
131
for &ptrauth_attr in pauth_fn_attrs() {
132
attrs.push(llvm::CreateAttrString(cx.llcx, ptrauth_attr));
0 commit comments