Re: [PATCH] Fix build with LLVM 15 or above

Zhihong Yu <zyu@yugabyte.com>

From: Zhihong Yu <zyu@yugabyte.com>
To: Andres Freund <andres@anarazel.de>
Cc: Thomas Munro <thomas.munro@gmail.com>, Po-Chuan Hsieh <sunpoet@sunpoet.net>, pgsql-hackers@lists.postgresql.org
Date: 2022-10-03T21:45:05Z
Lists: pgsql-hackers
On Mon, Oct 3, 2022 at 2:41 PM Andres Freund <andres@anarazel.de> wrote:

> Hi,
>
> On 2022-10-03 12:16:12 -0700, Andres Freund wrote:
> > I haven't yet run through the whole regression test with an assert
> enabled
> > llvm because an assert-enabled llvm is *SLOW*, but it got through the
> first
> > few parallel groups ok.  Using an optimized llvm 15, all tests pass with
> > PGOPTIONS=-cjit_above_cost=0.
>
> That did pass. But to be able to use clang >= 15 one more piece is
> needed. Updated patch attached.
>
> Greetings,
>
> Andres Freund
>
Hi,

+    * When targetting an llvm version with opaque pointers enabled by

I think `targetting` should be spelled as targeting

Cheers

Commits

  1. Track LLVM 15 changes.