Current status of ORC

Is the ORC API currently stable enough to be recommended for use? If so, what documentation and example code represents the current recommended way of doing things with it? says:

"Warning: This text is currently out of date due to ORC API updates.

The example code has been updated and can be used. The text will be updated once the API churn dies down."

Does that mean the example code presented on the page, or some of the files under llvm/examples? If the latter, which ones?

(+Lang, Rider of Orcs)

Hi Russell,

Sorry for the delayed reply. ORC is currently undergoing some churn while I update the API to support concurrent JIT’d code and concurrent compilation. This work is almost complete, so updated documentation should be landing soon (within a few weeks).

The code in llvm/examples/Kaleidoscope/BuildingAJIT/* has been kept up-to-date and building.

What is your use-case for the JIT? Depending on what you need I might be able to post some example code that uses the updated APIs now.