[llvm-dev] LLVM pass error

Asit Dhal via llvm-dev llvm-dev at lists.llvm.org
Fri Jan 20 15:35:22 PST 2017


Please use this repo

https://github.com/sampsyo/llvm-pass-skeleton



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
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170121/4f541f3b/attachment.html>


More information about the llvm-dev mailing list