]> sourceware.org Git - systemtap.git/commit - tapsets.cxx
Create a dwarf_attr_die idiom
authorJosh Stone <jistone@redhat.com>
Thu, 20 Aug 2009 00:27:18 +0000 (17:27 -0700)
committerJosh Stone <jistone@redhat.com>
Thu, 20 Aug 2009 00:27:18 +0000 (17:27 -0700)
commit3d1ad34033e6f77368287927049e112d9ee3677e
tree6ddc1b1ae665ed6be9a01b81d142f048c2b063d8
parentde9a66e3bbc3f287229cad892108e46ac44b2bdf
Create a dwarf_attr_die idiom

We commonly do a dwarf_attr_integrate followed by dwarf_formref_die,
with no care for the Dwarf_Attribute, so I captured that idiom in an
inline function.

* dwarf_wrappers.h (dwarf_attr_die): New.
* dwarf_wrappers.cxx (dwarf_type_name): Call dwarf_attr_die.
* dwflpp.cxx (dwflpp::print_members): Ditto.
  (dwflpp::find_struct_member): Ditto.
* tapsets.cxx (dwarf_derived_probe::saveargs): Ditto.
  (uprobe_derived_probe::saveargs): Ditto.
  (resolve_tracepoint_arg_type): Ditto.
  (tracepoint_derived_probe::build_args): Ditto.
dwarf_wrappers.cxx
dwarf_wrappers.h
dwflpp.cxx
tapsets.cxx
This page took 0.023494 seconds and 5 git commands to generate.