[llvm-commits] [patch][pr11300] Emit declarations before definitions
Devang Patel
dpatel at apple.com
Thu Nov 3 12:43:34 PDT 2011
On Nov 3, 2011, at 10:58 AM, Rafael EspĂndola wrote:
> The attached patch changes llvm to emit declarations before
> definitions if they are available. This causes DW_AT_specification to
> point back in the file, fixing PR11300.
>
> Is it OK?
>
> Cheers,
> Rafael
> <t.patch>
With recent changes, it makes sense to do this in constructSubprogramDIE().
Your patch looks fine.
Thanks!
-
Devang
More information about the llvm-commits
mailing list