On Tuesday, 17 July 2018 at 17:34:46 UTC, Jacob Carlborg wrote: > Thanks. Ideally it should be full compatible with Clang so I'll > go with trying to define the structs exactly as Clang outputs > them. Well just using an opaque `struct._class_t` IR struct may work too when mixing bitcode, so I'd give that a try first.