summaryrefslogtreecommitdiff
path: root/src/backend/jit/llvm/llvmjit_wrap.cpp
AgeCommit message (Collapse)Author
2023-01-02Update copyright for 2023Bruce Momjian
Backpatch-through: 11
2022-01-08Update copyright for 2022Bruce Momjian
Backpatch-through: 10
2021-01-02Update copyright for 2021Bruce Momjian
Backpatch-through: 9.5
2020-10-16llvmjit: Work around bug in LLVM 3.9 causing crashes after 72559438f92.Andres Freund
Unfortunately in LLVM 3.9 LLVMGetAttributeCountAtIndex(func, index) crashes when called with an index that has 0 attributes. Since there's no way to work around this in the C API, add a small C++ wrapper doing so. The only reason this didn't fail before 72559438f92 is that there always are function attributes... Author: Andres Freund <[email protected]> Discussion: https://postgr.es/m/[email protected] Backpatch: 11-, like 72559438f92
2020-01-01Update copyrights for 2020Bruce Momjian
Backpatch-through: update all files in master, backpatch legal files through 9.4
2019-01-22llvm: Fix file-ending in IDENTIFICATION comments.Andres Freund
Author: Amit Langote Discussion: https://postgr.es/m/[email protected] Backpatch: 11-, where llvm was introduced.
2019-01-02Update copyright for 2019Bruce Momjian
Backpatch-through: certain files through 9.4
2018-08-24LLVMJIT: LLVMGetHostCPUFeatures now is upstream, use LLMV version if available.Andres Freund
Noticed thanks to buildfarm animal seawasp. Author: Andres Freund Backpatch: v11-, where LLVM based JIT compliation was introduced.
2018-03-22Add file containing extensions of the LLVM C API.Andres Freund
Author: Andres Freund Discussion: https://postgr.es/m/[email protected]