debuginfo: Major code cleanup in debuginfo.rs