<div dir="ltr">Well, I was using command 'opt -load mypass.dll -mypass' with -mypass option enabling the pass.<div><br></div><div>The actual problem was in my system env, then configure script wasn't working and build used mix of Win/MinGW/Cygwin tools because of $PATH in wrong order in some cases.</div>
<div><div class="gmail_extra" style>I've fixed system PATHs and loading of shared libraries started working in opt.</div><div class="gmail_extra" style><br></div><div class="gmail_extra">BTW, I'm using poolalloc project on cygwin. Project Makefile disables shared library target on Cygwin and MinGW.</div>
<div class="gmail_extra">However, it seems to be working fine on Cygwin (maybe with a few minor fixes for certain gcc versions).</div><div class="gmail_extra"><br></div><div class="gmail_extra">What was the reason to disable poolalloc for Cygwin?</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 12, 2013 at 9:37 AM, Duncan Sands <span dir="ltr"><<a href="mailto:baldrick@free.fr" target="_blank">baldrick@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi Sergey,<div class="im"><br>
<br>
> However, opt load still fails (has no effect).<br><br></div>
you also have to use -hello on the opt command line in order to actually<br>
run the pass.<br>
<br>
Ciao, Duncan.<br>
______________________________<u></u>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvmdev</a><br>
</blockquote></div><br></div></div></div>