3 ms·
How complete is the C API? I'd happily forgo any C++ to get a stable API in return.
by slrz 10y ago
How complete is the C API? I'd happily forgo any C++ to get a stable API in return.
- Joky 10y agoHard to say. I'm pretty sure you can create any piece of IR (almost), and Optimize/CodeGen. We're open to add new APIs when someone needs one that is missing. We only break the C API when there is really no choice. For example when I removed the C++ API getGlobalContext() I made sure to preserve the equivalent C API: http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160411/347699.html http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-201... ; but it is not always possible.