tshort / StaticCompiler.jl

Compiles Julia code to a standalone library (experimental)
Other
498 stars 30 forks source link

Warn when compiled functions contain hard-coded pointers #103

Closed brenhinkeller closed 7 months ago

brenhinkeller commented 1 year ago

This should probably be a warning rather than a hard error for now, but it would be very useful to know, and I think (?) it may be possible to check for this using LLVM?

brenhinkeller commented 1 year ago

Inspired by #101

MasonProtter commented 1 year ago

I'd also like to just straight up throw an error if I find things like jl_throw_generic in the LLVM for standalone compiled code.

brenhinkeller commented 7 months ago

Looks like this was implemented in #146!