dwarf DW_AT_decl_name: system headers vs source files?
Michael Matz
matz@suse.de
Mon Jun 22 13:45:00 GMT 2015
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.
More information about the Gcc
mailing list