This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Speaking of DWARF-2 macro info
- From: Daniel Berlin <dan at dberlin dot org>
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Cc: Zack Weinberg <zack at codesourcery dot com>, <gcc-bugs at gcc dot gnu dot org>
- Date: Sun, 17 Mar 2002 13:33:35 -0500 (EST)
- Subject: Re: Speaking of DWARF-2 macro info
On Sun, 17 Mar 2002, Neil Booth wrote:
> Daniel Berlin wrote:-
>
> > However, we need to end that file as well, no?
>
> On second thoughts, I don't think so. It's treated as a rename
> (like #line) not as a new file by cpp:
>
> /* Restore the line map for the main file. */
> if (! CPP_OPTION (pfile, preprocessed))
> _cpp_do_file_change (pfile, LC_RENAME,
> pfile->line_maps.maps[0].to_file, 1,
> 0);
>
> This code is in cppinit.c.
Weird.
I'll have to just explicitly add another end file to dwarf2out i guess.
>
> Neil.
>