[LLVMdev] Connection llvm ir
Duncan Sands
baldrick at free.fr
Wed Jun 15 06:24:19 PDT 2011
Hi chenwj,
>> I want to call C function from fortran or call fortran function from C.
>
> I think you can get some insight from reading this,
> http://sysrun.haifa.il.ibm.com/hrl/greps2007/papers/greps-07-lto.pdf
a bunch of issues discussed in that are GCC specific and don't apply to
LLVM. As far as I know GCC still has problems when doing LTO of multi
language programs, but LLVM never did [*].
Ciao,
Duncan.
[*] There is a theoretical issue if (eg) C++ exception handling code is
inlined into an Ada function containing Ada exception handling code.
More information about the llvm-dev
mailing list