<div dir="ltr">Loadable modules are not currently supported on Windows, unfortunately. If you directly add your pass to llvm/lib/Transforms/IPO and rebuild opt, you will probably get further faster.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 23, 2016 at 9:11 AM, Muhammad Umar Janjua 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><div style="color:#000;background-color:#fff;font-family:verdana,helvetica,sans-serif;font-size:16px"><div> Hi,</div><div><br></div><div dir="ltr">I have written a ModulePass (c++ code) that does transformation to LLVM bytecode. How do I build,compile and run it on windows.</div><div dir="ltr"><br></div><div dir="ltr">a) I need Win32 LLVM tools. (so I downloaded)</div><div dir="ltr">b) How do I build the dll( modulepass) so that I can pass it to optimizer or other llvm tool.</div><div dir="ltr">c) To test, I need to compile a test C code, emit llvm intermediate code and pass it to optimizer so that it can run my transformation on it.<div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">I am using windows. Any suggestion of cmdline steps\tools for the above steps will be appreciated.</div></div><div dir="ltr">Thanks</div></div></div><br>_______________________________________________<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/mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>