]> sourceware.org Git - systemtap.git/commit
Fix condition propagation across aliases
authorJosh Stone <jistone@redhat.com>
Wed, 10 Jun 2009 02:58:15 +0000 (19:58 -0700)
committerJosh Stone <jistone@redhat.com>
Wed, 10 Jun 2009 03:08:12 +0000 (20:08 -0700)
commit67146982d334acdb25f43da2a74c02fcabc3c45d
tree61198a6a941aed9efdd8f9878b71fd2683c1447a
parentb608bb8322085893877078d76e3e50f7d9918c5a
Fix condition propagation across aliases

When an instance of an alias has a condition, that condition gets
propagated to each of the locations that the alias defines.  However,
the copy of the location list was not a deep copy, and so all other
instances of the alias would also incorrectly receive the condition.

This patch makes the location list copy a little deeper, and adds a
test case which demonstrates the issue.
elaborate.cxx
testsuite/systemtap.base/alias-condition.exp [new file with mode: 0644]
testsuite/systemtap.base/alias-condition.stp [new file with mode: 0644]
This page took 0.026825 seconds and 5 git commands to generate.