How to debug tvm's Codegen codes

I am reading Codegen’s code, how should I debug it, just like using gdb to debug gcc

You can run python with parameters from a debugger and set a breakpoint on a codegen function that you want to debug. Let’s say that you want to stop at CodeGenLLVM::VisitStmt_(HalideIR::Internal::For const*). The mangled name is _ZN3tvm7codegen11CodeGenLLVM10VisitStmt_EPKN8HalideIR8Internal3ForE.

I use lldb, so I can do

$ lldb python3
(lldb) target create "python3"
Current executable set to 'python3' (x86_64).
(lldb) settings set --  ""
(lldb) breakpoint set -F _ZN3tvm7codegen11CodeGenLLVM10VisitStmt_EPKN8HalideIR8Internal3ForE
Breakpoint 1: no locations (pending).
WARNING:  Unable to resolve breakpoint to any actual locations.
(lldb) run
Process 27958 stopped
* thread #1, name = 'python3', stop reason = breakpoint 1.1
    frame #0: 0x00007fffee685cf0`tvm::codegen::CodeGenLLVM::VisitStmt_(HalideIR::Internal::For const*)`tvm::codegen::CodeGenLLVM::VisitStmt_:
->  0x7fffee685cf0 <+0>: pushq  %r15
    0x7fffee685cf2 <+2>: pushq  %r14
    0x7fffee685cf4 <+4>: pushq  %r13
    0x7fffee685cf6 <+6>: pushq  %r12