[LLVMdev] .so file creation for new passes
etherzhhb at gmail.com
Sun Apr 18 04:14:50 PDT 2010
On Sun, Apr 18, 2010 at 6:45 PM, Olivier Meurant
<meurant.olivier at gmail.com>wrote:
> 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:
>> 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).
> loadable module is not supported in windows, so the project for "Hello"
will not be create and you can not run it as "
> 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
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev