[PATCH] D83638: BPF: permit .maps section variables with typedef type
Yonghong Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 11 23:50:54 PDT 2020
yonghong-song added a comment.
In D83638#2146167 <https://reviews.llvm.org/D83638#2146167>, @anakryiko wrote:
> maybe let's just remove special-casing of .maps section? It's just like any other global variable, should be handled in exactly the same way, no?
for .maps, we need to trace pointee types. For general globals, functional arguments, etc., we do not trace pointee types like in `struct t { struct task_struct *p; }` the `task_struct` won't be traced. That is why we need to handle .maps specially.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83638/new/
https://reviews.llvm.org/D83638
More information about the llvm-commits
mailing list