[LLVMdev] Lost in the documentation

Gordon Henriksen gordonhenriksen at mac.com
Mon Apr 28 14:54:31 PDT 2008


On Apr 28, 2008, at 17:32, Hendrik Boom wrote:

> 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

With the exception of the 'util' and 'tools' directories, the entire  
LLVM source tree consists of libraries.

> where are their API(s) documented?

http://llvm.org/docs/
http://llvm.org/doxygen/
http://llvm.org/docs/tutorial/
etc etc etc.

— Gordon





More information about the llvm-dev mailing list