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