<div dir="ltr"><div>i am beginner in llvm compiler framework. As i want to create loop pass i went through all the procedure for creating new pass. I did all the steps u mentioned but when i copied the content  of makefile(for hello pass) from ur website to my makefile  its not working properly.<br>
<br></div>My makefile is like this :<br><br><div class=""><div class=""><pre><span class=""># Makefile for hello pass</span>

<span class=""># Path to top level of LLVM hierarchy</span>
<span class="">LEVEL</span> <span class="">=</span> ../../..

<span class=""># Name of the library to build</span>
<span class="">LIBRARYNAME</span> <span class="">=</span> Hello

<span class=""># Make the shared library become a loadable module so the tools can</span>
<span class=""># dlopen/dlsym on the resulting library.</span>
<span class="">LOADABLE_MODULE</span> <span class="">=</span> 1

<span class=""># Include the makefile implementation stuff</span>
<span class="">include $(LEVEL)/Makefile.common</span><br><br></pre><pre>Its giving an error like there is nothing to do with LOOPPASS.cpp<br></pre><pre>or NO RULES DEFINED FOR ALL.<br><br></pre><pre>then how should i proceed.<br>
<br></pre><pre>or if u can provide me MAKEFILE for LOOPPASS so that i can crate .so file <br></pre><pre>successfully. <br></pre></div>
</div><br></div>