• Andres Freund's avatar
    Basic JIT provider and error handling infrastructure. · 432bb9e0
    Andres Freund authored
    This commit introduces:
    
    1) JIT provider abstraction, which allows JIT functionality to be
       implemented in separate shared libraries. That's desirable because
       it allows to install JIT support as a separate package, and because
       it allows experimentation with different forms of JITing.
    2) JITContexts which can be, using functions introduced in follow up
       commits, used to emit JITed functions, and have them be cleaned up
       on error.
    3) The outline of a LLVM JIT provider, which will be fleshed out in
       subsequent commits.
    
    Documentation for GUCs added, and for JIT in general, will be added in
    later commits.
    
    Author: Andres Freund, with architectural input from Jeff Davis
    Discussion: https://postgr.es/m/20170901064131.tazjxwus3k2w3ybh@alap3.anarazel.de
    432bb9e0
llvmjit_error.cpp 3.64 KB