问题
I have been using the headers provided in include\llvm
and include\llvm-c
to try and make my own compiler. However, whenever I try to compile, I get this error. There is no llvm/IR/Attributes.inc
in my files nor any LLVM project I have seen. I get this error:
In file included from ./headers/llvm/IR/Function.h:26:
In file included from ./headers/llvm/IR/Argument.h:19:
./headers/llvm/IR/Attributes.h(74,14): fatal error: 'llvm/IR/Attributes.inc' file not found
#include "llvm/IR/Attributes.inc"
What is the problem here?
来源:https://stackoverflow.com/questions/53615541/attributes-inc-file-not-found