Skip to content

Commit f582479

Browse files
committed
[BPF] add missing attribute in pragma-attribute-supported-attributes-list.test
Add the newly supported BPF specific __attribute__((preserve_access_index) in the pragma-attribute-supported-attributes-list.test.
1 parent e9bf7a6 commit f582479

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/test/Misc/pragma-attribute-supported-attributes-list.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
// CHECK-NEXT: ArmMveAlias (SubjectMatchRule_function)
2121
// CHECK-NEXT: AssumeAligned (SubjectMatchRule_objc_method, SubjectMatchRule_function)
2222
// CHECK-NEXT: Availability ((SubjectMatchRule_record, SubjectMatchRule_enum, SubjectMatchRule_enum_constant, SubjectMatchRule_field, SubjectMatchRule_function, SubjectMatchRule_namespace, SubjectMatchRule_objc_category, SubjectMatchRule_objc_implementation, SubjectMatchRule_objc_interface, SubjectMatchRule_objc_method, SubjectMatchRule_objc_property, SubjectMatchRule_objc_protocol, SubjectMatchRule_record, SubjectMatchRule_type_alias, SubjectMatchRule_variable))
23+
// CHECK-NEXT: BPFPreserveAccessIndex (SubjectMatchRule_record)
2324
// CHECK-NEXT: CFAuditedTransfer (SubjectMatchRule_function)
2425
// CHECK-NEXT: CFConsumed (SubjectMatchRule_variable_is_parameter)
2526
// CHECK-NEXT: CFICanonicalJumpTable (SubjectMatchRule_function)

0 commit comments

Comments
 (0)