Open vincentmli opened 1 month ago
Hi @yonghong-song, Vincent here :) when you have time, could you help looking at above code example why I got the clang compiler error with custom_memcpy
, I am not sure if following is related
https://github.com/llvm/llvm-project/issues/93700 https://github.com/llvm/llvm-project/pull/97648
custom_memcpy
in https://github.com/vincentmli/xdp-tools/blob/master/xdp-dns/xdp_dns.bpf.c compiles fine butcustom_memcpy
in https://github.com/vincentmli/xdp-tools/blob/bpf-dnyptr/xdp-dns/xdp_dns.bpf.c result in compiler errori32 (ptr): A call to built-in function 'memcpy' is not supported
, switchcustom_memcpy
to__builtin_memcpy
has same compiler error