-
Debugging and Profiling JIT Compiled LLVM-IR
A few techniques for debugging and profiling JIT generated and compiled LLVM IR. Including: dumping generated IR and compiled object files to disk, installing JIT listeners to enable perf/GDB, and inserting self-referential debug information into your IR. This post has an accompanying github repository demonstrating these approaches with LLVM-17