[PATCH] D132144: [Clang][BPF] Support record argument with direct values
Alexei Starovoitov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 18 13:14:00 PDT 2022
ast added a comment.
clang -target bpf -O2 -S t3.c
t3.c:1:5: error: defined with too many args
this will be the case when backend needs to emit the code,
but if the function is always_inline it can have more than 5 arguments, right?
Would be good to have a test for that to make sure when BPF_KPROBE macro supports casting of 16-byte structs the clang side won't be an issue.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132144/new/
https://reviews.llvm.org/D132144
More information about the cfe-commits
mailing list