bpf - add a bunch of static asserts on size/alignment of struct field types

It really turns out that till now we've just been lucky to not have
ever used a 64-bit type.

See also discussion on:
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69560
(and other places on the internet)

Bug: 190519702
Test: atest, TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Original-Change: https://android-review.googlesource.com/1756574
Merged-In: Ibe74a6f97bdbba490a7848060d07dc3efcee0e68
Change-Id: Ibe74a6f97bdbba490a7848060d07dc3efcee0e68
1 file changed
tree: 3d66d4077a986a69e771583d8656485b5931b1ce
  1. bpfloader/
  2. libbpf_android/
  3. progs/
  4. Android.bp
  5. NOTICE
  6. OWNERS
  7. PREUPLOAD.cfg