llvm-pass-skeleton
llvm-pass-skeleton copied to clipboard
Fatal Error For Attributes.gen
hi,
when I make the program , I met the error - fatal error: llvm/IR/Attributes.gen: No such file or directory and I did not find Attributes.gen in my llvm-4.0.1. I've tried llvm-3.2 , but I failed too. So dose this program require a special version of llvm?
Thank you very much!
Hello! I don’t have an obvious diagnosis, but it’s true that the LLVM API does change a lot between versions. You might try using the one that was current when I committed this code. (I should then add a note to the README mentioning that version! Or if there’s a quick fix you can find to bring things up to date, that would be even more awesome.)
@sampsyo ok, thanks a lot.
@sampsyo Just a reminder, please add a README to this repo.
Hmm… @zhangysh1995, there is a README in this repo. If you meant to add a version indicator, that would be a good idea, but I'm depending on you and @JodieAllen to find out which version is the right one to recommend!
@sampsyo ,@zhangysh1995, It can run on LLVM-3.8.1 and the version of my ubuntu is 16.04.
Great; thank you! I've added a note to the README.