[LLVMdev] Unable to generate obj file using llc for bpf

Alexei Starovoitov alexei.starovoitov at gmail.com
Sun Aug 2 17:56:57 PDT 2015


On Sun, Aug 2, 2015 at 12:24 AM, Xiaochu Liu <xiaochu1122 at gmail.com> wrote:
> Dear there,
>
> I wasn't able to generate obj file for bpf using llc:
>
> llc -march bpf -filetype=obj foo.bc
>
> Anyone knows what is the missing part in their backend? I want to make it
> work for my project.

what do you mean exactly?
Is there some error message or foo.o is rejected by kernel?



More information about the llvm-dev mailing list