Speaking of DWARF-2 macro info

Daniel Berlin dan@dberlin.org
Sun Mar 17 10:33:00 GMT 2002


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.
> 



More information about the Gcc-bugs mailing list