Re-submitting this patch since I had not added llvm-commits previously. Old patch: D40207
This is a revival of the old DebugIR pass.
This pass strips away old debug info, and inserts new debug info that provides LLVM IR leveldebugging in a debugger.
I do not fully understand the debug infrastructure of LLVM, so reviews will be much appreciated!
this comment is inappropriate