pgsql: Run LLVM verify pass on IR in assert builds. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Run LLVM verify pass on IR in assert builds.
Date
Msg-id E1sTIM7-001ju6-OY@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Run LLVM verify pass on IR in assert builds.

The problem fixed by commit 53c8d6c9 would have been noticed if we'd
been running LLVM's verify pass on generated IR.  Doing so also reveals
a complaint about incorrect name mangling, fixed here.  Only enabled for
LLVM 17+ because it uses the new pass manager API.

Suggested-by: Dmitry Dolgov <9erthalion6@gmail.com>
Discussion: https://postgr.es/m/CAFj8pRACpVFr7LMdVYENUkScG5FCYMZDDdSGNU-tch%2Bw98OxYg%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8583b1f99340f4de24661dc50ab63ec6965f6759

Modified Files
--------------
src/backend/jit/llvm/llvmjit.c      | 5 +++++
src/backend/jit/llvm/llvmjit_expr.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: pgsql: Replace BackendIds with 0-based ProcNumbers
Next
From: Tom Lane
Date:
Subject: pgsql: Doc: minor improvements for plpgsql "Transaction Management" sec