[LLVMdev] I have built a whole-program bitcode file for openldap-2.4.19
Nan
zhunansjtu at gmail.com
Fri Oct 30 08:46:37 PDT 2009
OK,I have updated my wrapper and I have successfully build whole-program bitcode file for BIND 9.6.1
>
> Message: 5
> Date: Fri, 30 Oct 2009 17:40:43 +0800
> From: Nan Zhu <zhunansjtu at gmail.com>
> Subject: [LLVMdev] I have built a whole-program bitcode file for
> openldap-2.19
> To: llvmdev at cs.uiuc.edu
> Message-ID:
> <ffabe8bd0910300240s22606f26s5a1a04b8a764f849 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,all
>
> I have written a wrapper which includes gcc/g++,ld and llvm counterparts, it
> invokes native or llvm compiler and linker according to the options it
> receives,after I replace the native tools with my wrapper in libtool script,
> I just typed like this
>
> make CC=wrapper AC_CFLAGS=-emit-llvm
>
> then I got a bc file of slapd and other tools in clients directory
>
> The accessory is the whole-program bitcode file of slapd
>
> (My platform is Fedora11 x86_64+E6300)
>
> the method can also be applied to many GNU projects but there may be some
> other problems when I treat to BIND,I'm checking it..
>
> Thank you
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.cs.uiuc.edu/pipermail/llvmdev/attachments/20091030/1dcd3a47/attachment.html
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: slapd.bc
> Type: application/octet-stream
> Size: 2662636 bytes
> Desc: not available
> Url : http://lists.cs.uiuc.edu/pipermail/llvmdev/attachments/20091030/1dcd3a47/attachment.obj
>
> ------------------------------
>
> _______________________________________________
> LLVMdev mailing list
> LLVMdev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
> End of LLVMdev Digest, Vol 64, Issue 54
> ***************************************
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature database 4558 (20091030) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
More information about the llvm-dev
mailing list