How to debug JIT-ed code in PostgreSQL using GDB - Mailing list pgsql-hackers

From Japin Li
Subject How to debug JIT-ed code in PostgreSQL using GDB
Date
Msg-id MEYP282MB166949639999BDBEF874E189B6F49@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Whole thread Raw
List pgsql-hackers
Hi, hackers

I try to use gdb to debug the jit-ed code, however, there isn't
much useful information.  I tried the way from [1], however, it
doesn't work for me (llvm-10 in my environment).

How can I do this debugging?  Any suggestions?  Thanks in advance!


[1] https://releases.llvm.org/8.0.1/docs/DebuggingJITedCode.html

-- 
Regrads,
Japin Li.
ChengDu WenWu Information Technology Co.,Ltd.



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: typos
Next
From: Masahiko Sawada
Date:
Subject: Re: Logical replication timeout problem