Thread: How to debug JIT-ed code in PostgreSQL using GDB

How to debug JIT-ed code in PostgreSQL using GDB

From
Japin Li
Date:
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.