This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: dwarf DW_AT_decl_name: system headers vs source files?


Hi,

On Sat, 20 Jun 2015, DJ Delorie wrote:

> Note that the DW_AT_decl_file refers to "dj.h" and not "dj.c".  If you 
> remove the "3" from the '# 1 "dj.h" 1 3' line, the DW_AT_decl_file 
> instead refers to "dj.c".  It's been this way for many releases.
> 
> Is this intentional?

I think it came in with r137873, aka 
  https://gcc.gnu.org/ml/gcc-patches/2008-07/msg01061.html

> If so, what is the rationalization for it?

I can't really grok the situation Rafael wanted to improve.


Ciao,
Michael.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]