[LLVMdev] How does JIT/lli work with bc file?

Eli Friedman eli.friedman at gmail.com
Thu Dec 31 23:59:58 PST 2009


On Thu, Dec 31, 2009 at 9:03 PM, Heming Cui <heming at cs.columbia.edu> wrote:
> Hi Eli,
>     I think the llvm configure has already configured with ffi.
>
> ../llvm-2.6/configure -help | grep ffi
>   --enable-libffi         Check for the presence of libffi (default is YES)

Umm, that just means it checks; if you don't have the headers
installed, it doesn't use it.

>     In addition, the printf() can work in program, reflecting that libffi is
> working, right?
>     How can I make Interpreter work with getpid(), fork(), and clone()?

I believe printf() is special-cased; I forget exactly where.

-Eli




More information about the llvm-dev mailing list