[LLVMdev] Connection llvm ir

최원준 wonjunchoi001 at gmail.com
Thu Jun 16 00:28:44 PDT 2011


I want to call each language function from each language using llvm ir
language.
Is this possible?

Wonjun, Choi


2011/6/16 陳韋任 <chenwj at iis.sinica.edu.tw>

> > > I want to connect each llvm ir
> > >
> > > for example:
> > > 1. Turn C/C++ language into C_llvmIR assembly language using Clang
> > > 2. Turn Fortran language into Fortran_llvmIR assembly language using
> Dragonegg
> > > 3. Turn Python language into Python_llvmIR assembly language using
> Unladen-Swallow
> > > 4. Connect each llvm IR
> > >
> > > Is this possible?
> >
> > this should work fine: if you can compile to object code and successfully
> link
> > the object code to form a working program then you should be able to
> compile to
> > bitcode and link the bitcode (and get a working program).  I've done this
> for
> > programs made up of Ada/C/C++ and Fortran and it worked as expected.
>
>   He acutally want to call C function from fortran or call fortran function
> from C,
> for example. In your case, that will do?
>
> Regards,
> chenwj
>
> --
> Wei-Ren Chen (陳韋任)
> Computer Systems Lab, Institute of Information Science,
> Academia Sinica, Taiwan (R.O.C.)
> Tel:886-2-2788-3799 #1667
>
> _______________________________________________
> 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/20110616/0ec6df55/attachment.html>


More information about the llvm-dev mailing list