You're using a FunctionPassManager on the whole module? Don't think that's right.
This area of LLVM is so woefully underdocumented, despite being what lots of external projects are most going to be exposed to.
-
-
Anyway, what works in my code is using an FPM filled with populateFunctionPassManager, and a PassManager (note no Module prefix) with populateModulePassManager.https://github.com/postgres/postgres/blob/master/src/backend/jit/llvm/llvmjit.c#L452 …
-
aha, thanks a ton!! looks like this works, not sure why I got thrown onto a different track before trying this earlier
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.