Comment

Comment by broken_symlink

Can you print variables in lldb with the debug information?

One compiler that I use which emits llvm ir added support for debug information recently and its now possible to set breakpoints in gdb but you can't print out any stack variables or anything so its not useful other than figuring out which code paths execute.

I'd like to learn more about this. Maybe contribute to the compiler and fix this issue.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton