This is the mail archive of the gcc-bugs@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]

[Bug debug/20268] g++ generates incomplete debug information for given testcase with optimization


------- Additional Comments From dberlin at gcc dot gnu dot org  2005-03-02 04:49 -------
Debug output for inlining, etc,  isn't actually driven by the callgraph, so yes,
it can get out of sync with reality (it's not supposed to, but it does).  In
particular, it is possible we are missing some inlined subroutine dies.

However, i wouldn't necessarily believe the output of addr2line either. :) It's
not perfect in how it chooses what line number/file relates to a given address,
particularly in the face of optimization.

Looking at your output, i only see a small number of things outside the scopes
that "don't belong to main".
Or am i looking at the wrong thing?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20268


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