When the function is a method, we want a DW_AT_declaration there. Because there's no good way to cross the CU boundary to insert a nested DISubprogram definition in one CU into a type defined in another CU when doing LTO builds.