]> sourceware.org Git - systemtap.git/commit
use eh_frame_hdr table to speed up unwinding
authorTim Moore <timoore@redhat.com>
Wed, 20 Jan 2010 17:05:26 +0000 (18:05 +0100)
committerTim Moore <timoore@redhat.com>
Wed, 20 Jan 2010 17:05:26 +0000 (18:05 +0100)
commit0f33053e1ebb5931f9dfbb6268aec57b7ce003da
treed696072b903a90b28d9d8828c7e6ac99490f50b9
parent4e6d866ff635108634f8d0156d21c171e0d056f4
use eh_frame_hdr table to speed up unwinding

* runtime/sym.h (_stp_module): add unwind_hdr_addr member.
* runtime/unwind.c (read_ptr_sect): Modification of read_pointer that
  also handles offsets from text or "data" sections.
  (read_pointer): Use it.
  (_stp_search_unwind_hdr): Use read_ptr_sect to calculate values that
  are relative to the .eh_frame_hdr section.
  (unwind_frame): Search the frame header if this is an eh frame.
* translate.cxx (get_unwind_data): Get the eh_frame_hdr too.
  (dump_unwindsyms): Write out eh_frame_hdr stuff.
runtime/sym.h
runtime/unwind.c
translate.cxx
This page took 0.02705 seconds and 5 git commands to generate.