Re: LLVM JITLink attempt II (WIP) - Mailing list pgsql-hackers

From Anthonin Bonnefoy
Subject Re: LLVM JITLink attempt II (WIP)
Date
Msg-id CAO6_Xqr5K1nqgWy9yyB1eX0C8mJ9WEb8PaA32kEfaXxfXzzHpw@mail.gmail.com
Whole thread Raw
In response to Re: LLVM JITLink attempt II (WIP)  (Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>)
List pgsql-hackers
> Though if I try to perf inject the dumps, I have the following errors
>   jitdump file contains invalid or unsupported flags 0xf5880666c26c
>   0x2b750 [0xa8]: failed to process type: 10 [Operation not permitted]
> But that might be an issue with my setup, I would need to test it
> further to understand the issue...

After some additional investigation, I think that's a LLVM issue: The
Flags field is never initialised so the JIT perf plugin was writing
random data in the JIT dump header.
I've opened a PR[0] to fix this.

[0] https://github.com/llvm/llvm-project/pull/175204



pgsql-hackers by date:

Previous
From: Kirill Reshke
Date:
Subject: Re: GIN pageinspect support for entry tree and posting tree
Next
From: Andrey Borodin
Date:
Subject: Re: Multixid SLRU truncation bugs at wraparound