This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.9-161-g30868aa
- From: mark at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 20 Aug 2009 14:41:20 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.9-161-g30868aa
- Reply-to: systemtap at sourceware dot org
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "systemtap: system-wide probe/trace tool".
The branch, master has been updated
via 30868aad20865f5a949c22ad0a20d1ebe2fd669a (commit)
from b313f94ed30b4342eb02def7d8e895f5d2af8008 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 30868aad20865f5a949c22ad0a20d1ebe2fd669a
Author: Mark Wielaard <mjw@redhat.com>
Date: Thu Aug 20 16:31:55 2009 +0200
PR10537 process().function().label() should select multiple inlined instances.
This is less useful than one would hope. gcc will often emit a label with
a DW_AT_low_pc that is not really in the neighbourhood of where one would
expect it when the label is inlined and gcc can proof the label isn't really
used in the optimized code. dwflpp::iterate_over_labels will now really
iterate recursively through the die, even for dies without a name (like
lexical blocks). This means we should now always find the concrete inlined
label instances that have a real DW_AT_low_pc and so we don't need the trick
to use the line table to get at the actual address.
* dwflpp.cxx (iterate_over_labels): Accept dies without a name. Don't handle
labels without a name or without a lowpc attribute.
* testsuite/systemtap.base/inlinedvars.c (m): Trick gcc into thinking label
is always used.
(call, call2): Activate.
(main): Call call and call2.
* testsuite/systemtap.base/inlinedvars.exp: New result_string.
Test both unoptimized and optimized (inlined) builds.
-----------------------------------------------------------------------
Summary of changes:
dwflpp.cxx | 29 ++++++---------------
testsuite/systemtap.base/inlinedvars.c | 13 ++++++---
testsuite/systemtap.base/inlinedvars.exp | 40 +++++++++++++++--------------
3 files changed, 38 insertions(+), 44 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool