[llvm-dev] Building ModulePass independiently on win32

Reid Kleckner via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 23 14:04:58 PDT 2016


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.

On Wed, Mar 23, 2016 at 9:11 AM, Muhammad Umar Janjua via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hi,
>
> I have written a ModulePass (c++ code) that does transformation to LLVM
> bytecode. How do I build,compile and run it on windows.
>
> a) I need Win32 LLVM tools. (so I downloaded)
> b) How do I build the dll( modulepass) so that I can pass it to optimizer
> or other llvm tool.
> 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.
>
>
> I am using windows. Any suggestion of cmdline steps\tools for the above
> steps will be appreciated.
> Thanks
>
> _______________________________________________
> 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/20160323/1b40b6a9/attachment.html>


More information about the llvm-dev mailing list