Re: LLVM 22 - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: LLVM 22
Date
Msg-id CA+hUKGJv+QUOy8yOHe_0VfRGTSrHaCvo0xZG-1JGTqBurcPkOw@mail.gmail.com
Whole thread Raw
In response to LLVM 22  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
On Sat, Jan 3, 2026 at 3:02 PM Thomas Munro <thomas.munro@gmail.com> wrote:
> 1.  We won't need our local llvm::backport::SectionMemoryManager for
> LLVM 22, so it will be nice to draw a line under that messy business.
> See commit message for details.

While that's true, there is a problem with the patch I posted:
"ReserveAlloc" is not enabled when called from C.  I can't actually
reproduce the issue locally due to lack of RAM connected to an ARM
CPU, or I'd have noticed that...  I'll attempt to do something about
that upstream[1], let's see...  if not, we can still use the new
in-tree SectionMemoryManager, but we'll still need some C++ glue code.

[1] https://github.com/llvm/llvm-project/issues/174305



pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: DOC: fixes multiple errors in alter table doc
Next
From: Jacob Jackson
Date:
Subject: Re: Checking join outer relation uniqueness to prevent unnecessary memoization