bpf-attr-preserve-access-index.cpp 275 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 // RUN: %clang_cc1 -x c++ -triple bpf-pc-linux-gnu -dwarf-version=4 -fsyntax-only -verify %s #define __reloc__ __attribute__((preserve_access_index)) struct t1 { int a; int b[4]; int c:1; } __reloc__; // expected-warning {{'preserve_access_index' attribute ignored}}