[llvm-dev] LLVM pass error
Ryan Taylor via llvm-dev
llvm-dev at lists.llvm.org
Fri Jan 20 05:38:59 PST 2017
I'm not sure why you are making changes to cmakelists.txt?
What are your env vars and how did you build llvm?
On Fri, Jan 20, 2017 at 7:11 AM, Nemanja Ivanovic via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> You aren't likely to get an answer without providing some details. At the
> very least, you can provide the invocation string that fails (you can get
> this by adding VERBOSE=1 to the make invocation).
> Also, something doesn't really make sense in your description. You say
> that your pass doesn't build (i.e. the fatal error) but yet you say that
> you get the shared library built. Which is it?
> On Fri, Jan 20, 2017 at 7:08 AM, Siddharth Shankar Swain via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>> I am getting the following error while compiling my pass file with clang
>> to emit bitcode
>> Hello1.cpp:1:10: fatal error: 'llvm/Pass.h' file not found
>> #include "llvm/Pass.h"
>> 1 error generated.
>> I had included this .cpp file for implementing function pass in
>> lib/Transform/Hello1 directory and also made approriate changes in
>> cmakelists.txt file and again build from the root directrory. I am also
>> getting as a result LLVMHello1.so in llvm/build/lib/ directory.
>> Please guide
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev