terralang / terra

Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.
terralang.org
Other
2.71k stars 197 forks source link

Add support for LLVM 15 #614

Closed elliottslaughter closed 1 year ago

elliottslaughter commented 1 year ago

This builds (to my surprise) but does not pass yet because LLVM is generating some opaque pointers internally that we're not able to deal with right now. I thought initially we might be able to defer the opaque pointer migration, but it looks like we have to (at least minimally).

TODO:

elliottslaughter commented 1 year ago

I found the switch to turn off opaque pointers. I think I'll take it, though it's really just buying time to defer the transition to LLVM 16. There are some serious architectural issues to deal with, because we have some logic that wants to rely on Clang for generating struct types parsed from C headers.

Passes locally.