Jiwon Joung via llvm-dev
2019-Jul-30 18:22 UTC
[llvm-dev] Expected top level entity, ELF error
Hello dev! I am trying to run my llvm pass and I get the following strange error. [image: image.png] I suspect that the 'top level entity' usually means the bitcode is somehow incompatible. However, the ELF portion of the error is rather confusing. Any thoughts or advice on this would be greatly appreciated. -- Jiwon Joung University of Michigan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190730/4ee76425/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 74104 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190730/4ee76425/attachment-0001.png>
mayuyu.io via llvm-dev
2019-Jul-31 00:56 UTC
[llvm-dev] Expected top level entity, ELF error
Seems like you tried to run your pass on a compiled object file. Can you show us what steps you have done to run your pass? Zhang> 在 2019年7月31日,02:22,Jiwon Joung via llvm-dev <llvm-dev at lists.llvm.org> 写道: > > Hello dev! > > I am trying to run my llvm pass and I get the following strange error. > <image.png> > I suspect that the 'top level entity' usually means the bitcode is somehow incompatible. However, the ELF portion of the error is rather confusing. > > Any thoughts or advice on this would be greatly appreciated. > > -- > Jiwon Joung > University of Michigan > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev