Skip to content
Commit 0aa5e49c authored by Kees Cook's avatar Kees Cook
Browse files

compiler: Add __designated_init annotation

This allows structure annotations for requiring designated initialization
in GCC 5.1.0 and later:
https://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html



The structure randomization layout plugin will be using this to help
identify structures that need this form of initialization.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 1132e1e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment