ftynse wrote: > This PR demonstrates how to call C++ APIs directly without going through the C API and without RTTI. FTR, the bindings are based on C API rather than C++ directly for API stability reasons, not because we couldn't make it work with C++. https://github.com/llvm/llvm-project/pull/71133