]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't ignore symbols containing "$". C++ destructors and other
authorJohn Polstra <jdp@FreeBSD.org>
Sat, 8 Aug 1998 17:48:26 +0000 (17:48 +0000)
committerJohn Polstra <jdp@FreeBSD.org>
Sat, 8 Aug 1998 17:48:26 +0000 (17:48 +0000)
commit43ab5f387738dff8a65a1d15d764b7fc18447f89
treedbdfccee6242b50f041daacb80fe02de80e159ae
parent4f24ba2fac5ea816d04085b5abcd0a17b3c65a1a
Don't ignore symbols containing "$".  C++ destructors and other
special functions have names containing dollar signs, and ignoring
them causes gprof to produce incorrect and sometimes bizarre results.
The comment in the original code said that dollar signs were excluded
because they are used in Pascal labels.  That's not much of an
issue these days.
usr.bin/gprof/gprof.c