[LLVMdev] .so file creation for new passes

Olivier Meurant meurant.olivier at gmail.com
Sun Apr 18 03:45:00 PDT 2010

Hi !

The Hello world pass sources are in llvm/lib/Transform/Hello/*

If you compile llvm, the Hello library will be compiled too. It's not
installed but it's in build_directory/Debug/lib/LLVMHello.so (or in


On Sun, Apr 18, 2010 at 7:35 AM, kalyan ponnala <ponnala.kalyan at gmail.com>wrote:

> Hello,
> I was going through the LLVM docs "writing an LLVM Pass". Can someone tell
> me how to create the Hello.so file as it is said in the document. It talks
> about compiling the Hello pass using gmake. I am a Windows user (windows 7,
> cmake, visual studio 9 2008). I cant use cmake here as this hello pass has
> links to the llvm's solution file, I mean It uses some of the header files
> from llvm's solution file. Do I need to modify the program or the
> CMakeLists.txt file.?
> And where can I find this loadable Hello.so file ?
> Thanks a lot.
> --
> Kalyan Ponnala
> phone: 8163772059
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100418/173431b2/attachment.html>

More information about the llvm-dev mailing list