[llvm] r201441 - DwarfUnit: Refactor out DW_AT_stmt_list creation into common function for fission and non-fission cases
Rafael EspĂndola
rafael.espindola at gmail.com
Fri Feb 14 15:16:44 PST 2014
On 14 February 2014 17:41, David Blaikie <dblaikie at gmail.com> wrote:
> Author: dblaikie
> Date: Fri Feb 14 16:41:51 2014
> New Revision: 201441
>
> URL: http://llvm.org/viewvc/llvm-project?rev=201441&view=rev
> Log:
> DwarfUnit: Refactor out DW_AT_stmt_list creation into common function for fission and non-fission cases
>
> This probably also addresses the FIXME in the fission case regarding
> multiple compile units, though I haven't tested that.
>
> This code still confuses me (the literal zero offset makes little sense,
> the limitations surrounding asm output I'm not sure about either - but
> perhaps we should just always emit one line table?
There was a discussion about it. Search for "Debug Info: store the
files and directories for each compile uni".
The summary seems to be that using a single line table is quiet
smaller, but debuggers like to have one per
compilation unit.
> Or should we not rely
> on .loc/.file even in assembly so we can produce the same output between
> asm and object output?) but this maintains the existing functionality.
This is llvm.org/pr18716.
Cheers,
Rafael
More information about the llvm-commits
mailing list