This requires emitting Type Metadata in LLVM IR. Some pointers to info: - https://bughunters.google.com/blog/4805571163848704/llvm-cfi-and-cross-language-llvm-cfi-support-for-rust - https://llvm.org/docs/TypeMetadata.html