[LLVMdev] Lost in the documentation

Hendrik Boom hendrik at topoi.pooq.com
Mon Apr 28 14:32:37 PDT 2008


In http://llvm.org/docs/FAQ.html, when taking about writing a compiler 
that uses LLVM (at least I think that's what the FAQ question is asking), 
the FAQ recommends

> #  Call into the LLVM libraries code using your language's FFI (foreign 
> function interface).
> 
>     * for: best tracks changes to the LLVM IR, .ll syntax, and .bc  
>            format
>     * for: enables running LLVM optimization passes without a
>            emit/parse overhead
>     * for: adapts well to a JIT context
>     * against: lots of ugly glue code to write

Now, which particular libraries would that be, and where are their API(s) 
documented?

-- hendrik





More information about the llvm-dev mailing list