Move defining_target and debug_name from ir.rs to db.rs
#686
+357
−327
defining_target and debug_name from ir.rs to db.rs
#686