How to debug JIT-ed code in PostgreSQL using GDB

Started by Japin Liover 3 years ago1 messages
#1Japin Li
japinli@hotmail.com

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]https://releases.llvm.org/8.0.1/docs/DebuggingJITedCode.html, 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.