01-23-2016, 09:38 AM
It should be possible to cache some llvm structure.
Llvm ExecutionEngine (which hold compilation intermediate result and executable code) stores ObjectBuffer structure that seems to be storeable on disk. It looks like it contain most compilation data while still not being linked, which is exactly what we need for cache (symbol location can change when user restart rpcs3 so we need to be able to do the link process).
Unfortunately it's likely a lot of work to get it right so I don't expect it to be implemented soon.
Llvm ExecutionEngine (which hold compilation intermediate result and executable code) stores ObjectBuffer structure that seems to be storeable on disk. It looks like it contain most compilation data while still not being linked, which is exactly what we need for cache (symbol location can change when user restart rpcs3 so we need to be able to do the link process).
Unfortunately it's likely a lot of work to get it right so I don't expect it to be implemented soon.