Richard Guenther wrote:
>> Hve you considered to just use DWARF and translate the DWARF debug
>> info to a different format in LTRANS? For example, user wants stabs,
>> LGEN generates DWARF, LTRANS reads in the DWARF, and dbxout is
>> modified to translate the DWARF to stabs.
>
> +1
+2
This wa
On Wed, Dec 24, 2008 at 11:07 AM, Steven Bosscher wrote:
> On Tue, Dec 23, 2008 at 8:03 PM, Cary Coutant wrote:
>> Another approach is to generate the debug information earlier -- in
>> the front-end. This approach would significantly alter the structure
>> of the compiler and would be a major un
On Tue, Dec 23, 2008 at 8:03 PM, Cary Coutant wrote:
> Another approach is to generate the debug information earlier -- in
> the front-end. This approach would significantly alter the structure
> of the compiler and would be a major undertaking.
Would it be more work than what you are proposing?
LTO currently doesn't support the generation of debug info very well,
as we discard much of the front-end information that is needed for
debug info before streaming the IR to the intermediate file. I've
written up the following proposal to fix this, and have also posted it
on the gcc wiki:
http: