]> sourceware.org Git - systemtap.git/commit
PR10499: Integrate attributes in dwarf_decl_file/line
authorJosh Stone <jistone@redhat.com>
Mon, 10 Aug 2009 21:48:39 +0000 (14:48 -0700)
committerJosh Stone <jistone@redhat.com>
Mon, 10 Aug 2009 21:48:39 +0000 (14:48 -0700)
commit7f17af5c9ace193eef48246bcadf42ae9650de67
tree327acfe235e67925e3f21b54b5f5f3f798419fb4
parent6a38401c78a02b9bd14e50966ecdd54a003597b7
PR10499: Integrate attributes in dwarf_decl_file/line

Elfutils prior to 0.143 didn't use attr_integrate when looking up the
decl_file or decl_line, so the attributes would sometimes be missed.
For those old versions, we define custom implementations to do the
integration.

* dwarf_wrappers.cxx (dwarf_decl_file_integrate): New.
  (dwarf_decl_line_integrate): New.
* dwarf_wrappers.h: Add macros to redirect calls to the above functions.
* dwflpp.cxx (dwflpp::iterate_over_labels): Replace a manual attribute
  lookup that is the same as dwarf_decl_line.
dwarf_wrappers.cxx
dwarf_wrappers.h
dwflpp.cxx
This page took 0.027494 seconds and 5 git commands to generate.