ORC JIT Weekly #11 - C API Improvements

Hi All,

This week I expanded the C API to support:

  • Linking against process symbols
  • Loading object files into an LLJIT instance
  • Configuring target options using a TargetMachine template

You can check out the latest C API at https://github.com/llvm/llvm-project/blob/59ed45b4835f1d184ce2ac242c53ac41f87b9f41/llvm/include/llvm-c/Orc.h

Example programs for reflecting process symbols and loading object files can be found in:
https://github.com/llvm/llvm-project/tree/59ed45b4835f1d184ce2ac242c53ac41f87b9f41/llvm/examples/OrcV2Examples/OrcV2CBindingsReflectProcessSymbols
and
https://github.com/llvm/llvm-project/tree/59ed45b4835f1d184ce2ac242c53ac41f87b9f41/llvm/examples/OrcV2Examples/
respectively.

If you’re interested in getting involved in development of the new C API please join in at http://llvm.org/PR31103 .

– Lang.