jit: Create void type in the right context
Daniel Gustafsson <dgustafsson@postgresql.org>
jit: Create void type in the right context Commit 3b991f81c45 introduced a specific context for types such that all no longer referenced types can be dropped periodically rather than leaking. One void pointer type creation was however missed leading to an assertion failure in LLVM Debug builds. Per buildfarm members canebreak and urutu. Fix with assistance from Andres. The codepath in question was refactored in version 13 hence why this only affected version 12. Reported-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/1106876.1700409912@sss.pgh.pa.us
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/jit/llvm/llvmjit_expr.c | modified | +3 −1 |
Discussion
Cited messages not in the archive:
1106876.1700409912@sss.pgh.pa.us