You're using a FunctionPassManager on the whole module? Don't think that's right.
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
-
(looking more closely at your code. it's funny how often the C bindings are more clear than the C++.)
- 1 more reply
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.