On 09/30/2014 02:43 PM, Aldy Hernandez wrote:
+ if (parm_die + /* Make sure the function to which this parameter belongs to is + not an abstract instance. If it is, we can't reuse anything. + We must create a new DW_TAG_formal_parameter with a + corresponding DW_AT_abstract_origin. */ + && !get_AT (context_die, DW_AT_abstract_origin))
Can we use the same test here that we do later in this function, namely origin && origin != node?
- if (origin != NULL && origin != decl) + if (origin != NULL && (origin != decl || old_die))
Don't we want to go back to "if (origin != NULL)" here too? Jason