Re: LLVM JITLink attempt II (WIP)

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: LLVM JITLink attempt II (WIP)
Дата
Msg-id CA+hUKG+5Qnsx5A3QdTT4_g8JV2HN57HkxDHqNM2OCJPKxJJW3g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: LLVM JITLink attempt II (WIP)  (Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>)
Список pgsql-hackers
On Fri, Jan 9, 2026 at 2:33 AM Anthonin Bonnefoy
<anthonin.bonnefoy@datadoghq.com> wrote:
> On Tue, Jan 6, 2026 at 1:09 AM Thomas Munro <thomas.munro@gmail.com> wrote:
> > It sounds like we might need to wait for or write a similar
> > function for perf support.
>
> Yeah, there's no C api provided by LLVM yet. I've just opened a
> tentative PR[1] to add it.

Thanks Anthonin!  The configure script needs the library for the
"orcdebugging" component (Meson must be adding all components
automatically), and we should check the return value.  I also figured
we should set the error report handler as soon as possible, just in
case it wants to tell us something.  v4 attached.

jit_profiling_support=1 doesn't fail nicely on a system without perf,
but I don't think it's the fault of your patch.  I posted some details
to your PR.  Let's see if it can land in time...  I think there are
just a couple of days left, so it might just be too late for 22.

I suppose we should only use this for ELF systems initially, given
that debugging support is missing for Macs.

Вложения

В списке pgsql-hackers по дате отправления: