[PATCH] D69759: [BPF] Add preserve_access_index attribute for record definition
Alexei Starovoitov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 8 10:53:58 PST 2019
ast added a comment.
So what happens in the following case:
struct S1;
struct S2 {
struct S1 *f;
} relo *s2;
// access s2->f
struct S1 {
int i;
} relo;
// access s2->f->i
lack of relo on fwd declaration is not going to be sticky 'non-relo' when it's seen later, right?
So all 3 deref will be relocatable?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69759/new/
https://reviews.llvm.org/D69759
More information about the cfe-commits
mailing list