Reputation: 38708
I have a piece of hand-written llvm assembly that I want to debug with lldb.
How do I make llc emit debugging information so that lldb could display the original llvm assembly instead of the native at&t-style assembly it's displaying at the moment?
Upvotes: 1
Views: 487
Reputation: 578
There used to be a pass called DebugIR that would add debug info to LLVM IR, however it was removed in r222945. My guess is that it wasn't maintained properly and was bit-rotting. You could try revive it though!
Upvotes: 2