[LLVMdev] How to include IR parser and optimization passes in my project

tarique anwer tarique.anwer at gmail.com
Thu Oct 25 12:07:24 PDT 2012


Hi,

I am a newbie in LLVM.
I am very impressed with this forum and appreciate your help and time.

I am trying to include llvm  IR parser in my codebase, the way I wanna
do is generate  llvm's shared object (.so) file and use it in my
project.
So far I haven't been able to generate  correct .so's.

When I build a debug build with gmake (have llvm and clang in my
sandbox), I get the following .so.
./Debug+Asserts/lib/LLVMHello.so
./Debug+Asserts/lib/libLTO.so
./Debug+Asserts/lib/BugpointPasses.so
./Debug+Asserts/lib/libclang.so
./Debug+Asserts/lib/libprofile_rt.so


What am I missing ? how can i build the .so's which I can directly use.


thanks in advance.

regards
Tarique



More information about the llvm-dev mailing list