public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/25088] New: Support split-dwarf
@ 2019-10-09 15:47 mark at klomp dot org
  2019-10-09 15:49 ` [Bug translator/25088] " amerey at redhat dot com
  2019-10-09 17:43 ` wcohen at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: mark at klomp dot org @ 2019-10-09 15:47 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=25088

            Bug ID: 25088
           Summary: Support split-dwarf
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: mark at klomp dot org
  Target Milestone: ---

Since elfutils 0.171 libdw support split-dwarf (.dwo files). This is mostly,
but not totally, transparent for users like stap.

The easiest way to support split-dwarf is to use the new interface
dwarf_get_units where currently dwarf_next_unit or dwarf_nextcu is used.

/* Gets the next Dwarf_CU (unit), version, unit type and if available
   the CU DIE and sub (type) DIE of the unit.  Returns 0 on success,
   -1 on error or 1 if there are no more units.  To start iterating
   provide NULL for CU.  If version < 5 the unit type is set from the
   CU DIE if available (DW_UT_compile for DW_TAG_compile_unit,
   DW_UT_type for DW_TAG_type_unit or DW_UT_partial for
   DW_TAG_partial_unit), otherwise it is set to zero.  If unavailable
   (the version or unit type is unknown) the CU DIE is cleared.
   Likewise if the sub DIE isn't isn't available (the unit type is not
   DW_UT_type or DW_UT_split_type) the sub DIE tag is cleared.  */
extern int dwarf_get_units (Dwarf *dwarf, Dwarf_CU *cu, Dwarf_CU **next_cu,
                            Dwarf_Half *version, uint8_t *unit_type,
                            Dwarf_Die *cudie, Dwarf_Die *subdie)
     __nonnull_attribute__ (3);

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug translator/25088] Support split-dwarf
  2019-10-09 15:47 [Bug translator/25088] New: Support split-dwarf mark at klomp dot org
@ 2019-10-09 15:49 ` amerey at redhat dot com
  2019-10-09 17:43 ` wcohen at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: amerey at redhat dot com @ 2019-10-09 15:49 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=25088

Aaron Merey <amerey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amerey at redhat dot com

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug translator/25088] Support split-dwarf
  2019-10-09 15:47 [Bug translator/25088] New: Support split-dwarf mark at klomp dot org
  2019-10-09 15:49 ` [Bug translator/25088] " amerey at redhat dot com
@ 2019-10-09 17:43 ` wcohen at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: wcohen at redhat dot com @ 2019-10-09 17:43 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=25088

William Cohen <wcohen at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wcohen at redhat dot com

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-09 17:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-09 15:47 [Bug translator/25088] New: Support split-dwarf mark at klomp dot org
2019-10-09 15:49 ` [Bug translator/25088] " amerey at redhat dot com
2019-10-09 17:43 ` wcohen at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).