diff options
author | Josh Stone <jistone@redhat.com> | 2009-05-15 13:14:52 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-05-15 13:31:22 -0700 |
commit | b6fa229bc4b361a23f23daa13af634a0515230d6 (patch) | |
tree | bc1ba43e264939bc71a9690aec7d8c719b7c1a5a /dwflpp.h | |
parent | c94efd6357211094fce035d7435efe971bdf5ae1 (diff) | |
download | systemtap-steved-b6fa229bc4b361a23f23daa13af634a0515230d6.tar.gz systemtap-steved-b6fa229bc4b361a23f23daa13af634a0515230d6.tar.xz systemtap-steved-b6fa229bc4b361a23f23daa13af634a0515230d6.zip |
Merge the dwflpp::query_cu_..._address methods
The method query_cu_containing_global_address was only called by
query_cu_containing_module_address, and the latter was just doing a
simple argument transform. They are now merged into a single method,
query_cu_containing_address. The function module_address_to_global is
also merged here at its only call site.
Diffstat (limited to 'dwflpp.h')
-rw-r--r-- | dwflpp.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -197,10 +197,7 @@ struct dwflpp void focus_on_cu(Dwarf_Die * c); void focus_on_function(Dwarf_Die * f); - void query_cu_containing_global_address(Dwarf_Addr a, void *arg); - void query_cu_containing_module_address(Dwarf_Addr a, void *arg); - - Dwarf_Addr module_address_to_global(Dwarf_Addr a); + void query_cu_containing_address(Dwarf_Addr a, void *arg); bool module_name_matches(std::string pattern); bool name_has_wildcard(std::string pattern); |