W3cubDocs

/GCC 12

6.35.4 BPF Type Attributes

BPF Compile Once - Run Everywhere (CO-RE) support. When attached to a struct or union type definition, indicates that CO-RE relocation information should be generated for any access to a variable of that type. The behavior is equivalent to the programmer manually wrapping every such access with __builtin_preserve_access_index.

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/BPF-Type-Attributes.html