<div dir="ltr">Please use this repo<div><br></div><div><a href="https://github.com/sampsyo/llvm-pass-skeleton">https://github.com/sampsyo/llvm-pass-skeleton</a><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 20, 2017 at 7:08 AM, Siddharth Shankar Swain via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I am getting the following error while compiling my pass file with clang to emit bitcode<br><br>Hello1.cpp:1:10: fatal error: 'llvm/Pass.h' file not found<br>#include "llvm/Pass.h"<br> ^<br>1 error generated.<br><br><br></div>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.<br><br></div>Please guide<br></div>
<br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>