Re: upcoming API changes for LLVM 12

Thomas Munro <thomas.munro@gmail.com>

From: Thomas Munro <thomas.munro@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-10-16T02:37:43Z
Lists: pgsql-hackers
On Fri, Oct 16, 2020 at 2:12 PM Andres Freund <andres@anarazel.de> wrote:
> There will be a breaking API change for JIT related API in LLVM
> 12. Mostly about making control over various aspects easier, and then
> building on top of that providing new features (like JIT compiling in
> the background and making it easier to share JIT compiled output between
> processes).
>
> I've worked with Lang Hames to ensure that the new C API has feature
> parity...

Cool!

> I'd be inclined to add support for LLVM 12 to master soon, and then
> backpatch that support around LLVM 12's release.

+1.  I guess Fabien's animal "seawasp" will turn red next week.
Apparently it rebuilds bleeding edge LLVM weekly (though strangely
last week it went backwards... huh).



Commits

  1. backpatch "jit: Add support for LLVM 12."

  2. jit: Add support for LLVM 12.