Use captures(address) instead of captures(none) for indirect args

While provenance cannot be captured through these arguments, the
address / object identity can.
This commit is contained in:
Nikita Popov
2025-08-26 11:13:03 +02:00
parent ace9a74442
commit c3ab409b4f
15 changed files with 47 additions and 35 deletions

View File

@@ -263,7 +263,7 @@ pub(crate) enum AttributeKind {
MinSize = 4,
Naked = 5,
NoAlias = 6,
NoCapture = 7,
CapturesAddress = 7,
NoInline = 8,
NonNull = 9,
NoRedZone = 10,