• Home
  • History
  • Annotate
  • only in /external/libunwind/include/tdep-hppa/
History log of /external/libunwind/include/tdep-hppa/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f622936d6c5239b3d5ccafdf38189cec8bca55c0 15-Apr-2014 Christopher Ferris <cferris@google.com> Make sure that all memory accesses are guarded.

This doesn't protect the fpreg reads completely. It's still possible to have
a bad address that has the first part in readable memory and the second part
in unreadable memory. Since none of the code android uses uses the fpreg
data, this should be okay.

Bug: 13946101

Change-Id: I9187b16d0427cbc8af6751cf0b8476ea2d1bfc38
ibunwind_i.h
f4a8df5f4f338f1a12c25213227e98b34b42447f 08-Mar-2014 Christopher Ferris <cferris@google.com> Fix maps caching for local processes.

It is possible for the map to change while running libunwind. For example,
if lots of threads are doing local unwinds at the same time. Allow the
cached map to regenerate when it detects this case.

Included in this change is a refactor of all of the os code so that it can
also be used to do caching. This is a prelude to being able to attempt to
push the code upstream.

Also, this moves the code back closer to the original upstream code.
Hopefully, this will allow me to upstream all of these changes.

Change-Id: Ia219fa61e16e36416133bc95b1dd2161bd5b8ff7
ibunwind_i.h
16b95a68caaa7e021209e2cd6a877ae1e558f740 23-Jan-2014 Christopher Ferris <cferris@google.com> Add speed-ups to libunwind.

Add caching of /proc/self/maps data structures.

Add caching of elf image maps attached to the maps data structure.

Add a set of new map api functions to handle creation/destruction of the
maps by external code.

Remove the creation of the maps data structure in the local address space
init.

Change-Id: I0adae397d433fc3902f83a6f377f6889161937e5
ibunwind_i.h
7d46a21e0a2cb561e4cad57b101a7137e01023dc 14-Nov-2013 Christopher Ferris <cferris@google.com> For current process, check memory accesses.

When attempting to unwind the current process, the library simple reads and
writes to memory for memory accesses. Unfortunately, if an unwind winds up
with invalid data, then the process can segfault. Add a guard to all memory
accesses that verifies that reads/writes are valid before attempting them.

For now, this guard is a nop on all systems except linux systems.

Also, modify the adjust_ip function to use the access_mem function
so that all reads go through the right function.

Bug: 11652982
Change-Id: I9d1feacae585374f6bf1d899f8a006ec9ecb47c4
ibunwind_i.h
5d0f376b08126b51a001d7cdfba1ec4e0d644f54 21-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Invert tdep_init() flag logic

Invert the flag that signals that tdep_init() was called, to move the
symbol from data to BSS.
ibunwind_i.h
d139d7e78ebc02a4bf86624a010198eb47df5e92 02-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> HPPA: include `mempool.h' in `libunwind_i.h'

dwarf/Gfde.c: In function '_Uhppa_dwarf_extract_proc_info_from_fde':
dwarf/Gfde.c:335: warning: implicit declaration of function 'mempool_alloc'
ibunwind_i.h
d1e46149958d539ecb258a9e2b73cb63c708ef7b 02-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> HPPA: add `global_cache' member to unw_addr_space struct

dwarf/Gparser.c: In function 'get_rs_cache':
dwarf/Gparser.c:522: error: 'struct unw_addr_space' has no member named 'global_cache'
ibunwind_i.h
971216f8d4f09e73a94b78c1cba8bbb6123078e4 01-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> HPPA: fix tdep_put_unwind_info() macro

In file included from mi/Lput_dynamic_unwind_info.c:4:
mi/Gput_dynamic_unwind_info.c:48:40: error: macro "tdep_put_unwind_info" passed 3 arguments, but takes just 2
ibunwind_i.h
d93d96ad833390519ea68a2df22dd55dd26a3214 22-May-2012 Martin Milata <mmilata@redhat.com> Fix compilation on IA64

- Add tdep macro for {dwarf,ia64}_find_unwind_table so that ia64
doesn't try to use dwarf code.
- Fix extraneous #if.
- Fix mistyped filename in Makefile.am.
- Link ia64-specific tests with correct libraries.

Signed-off-by: Martin Milata <mmilata@redhat.com>
ibunwind_i.h
e2962af9d31266761700b431da894421c0d757ec 06-Apr-2011 Arun Sharma <asharma@fb.com> Implement a cheaper getcontext()

Since the fast unwinding code path doesn't need the full context,
a faster target dependent getcontext is implemented.

Signed-off-by: Lassi Tuura <lat@cern.ch>
ibunwind_i.h
5f38f35d5d6c78aafa6da20845d9ceff74af00f8 01-Apr-2011 Lassi Tuura <lat@cern.ch> Drop a call frame in tdep_trace and avoid a call to unw_step.

Dropping the extra frame for unw_backtrace itself using unw_step is
approximately 15% slower than skipping the frame in tdep_trace. So
drop the frame in the latter, and make the function a private
implementation detail for libunwind, not an exported interface.

Also moves unw_getcontext call back into unw_backtrace to avoid an
extra call frame in case slow_backtrace does not get inlined into
unw_backtrace.
ibunwind_i.h
9e98f15e9aee12e67cd5956d06ccb559f6a06213 19-Mar-2011 Lassi Tuura <lat@iki.fi> Fast back-trace for x86_64 for only collecting the call stack.

Adds new function to perform a pure stack walk without unwinding,
functionally similar to backtrace() but accelerated by an address
attribute cache the caller maintains across calls.
ibunwind_i.h
1787a2fd284a786b409af74047a12de02c644cd1 15-May-2010 Arun Sharma <arun@sharma-home.net> Add path and pathlen arguments to tdep_get_elf_image()

Signed-off-by: Andris Zeila <andris.zeila@accenture.com>
ibunwind_i.h
dac2d001afb1fa7040ca7d8ae57032f684d7023e 20-Apr-2010 Lassi Tuura <lat@cern.ch> Identify signal frames by augmentation attribute.
ibunwind_i.h
3842dac7333e42aa44531eda34ba55200b99ccf8 05-Feb-2008 Daniel Jacobowitz <drow@false.org> Add initial ARM and MIPS support. To support this, also enable the
reading of .debug_frame sections (used in lieu of .eh_frame sections
when they're not available).
ibunwind_i.h
37be21c01ebe23402d4b5f1391e7a83da34e8c32 26-Jul-2006 David Mosberger-Tang <davidm@koala.localdomain> Restore more files wiped out by Bitkeeper->CVS->GIT transition.
ibunwind_i.h
f8a07dfb221824ce5d400d20d9c0e29f0997fce6 20-May-2005 hp.com!davidm <hp.com!davidm> Rename: include/hppa/jmpbuf.h -> include/tdep-hppa/jmpbuf.h

(Logical change 1.294)
mpbuf.h
c56b45e82e2cccbde443ba67717af5253ece1eb8 20-May-2005 hp.com!davidm <hp.com!davidm> Rename: include/hppa/dwarf-config.h -> include/tdep-hppa/dwarf-config.h

(Logical change 1.294)
warf-config.h
180a1ececa292bf92cf665ab6253fb68727d576a 20-May-2005 hp.com!davidm <hp.com!davidm> Initial revision
warf-config.h
mpbuf.h
ibunwind_i.h
dce55286abb63f565660f528d2a0032dae199e68 20-May-2005 hp.com!davidm <hp.com!davidm> Adjust for renaming of file.

2005/05/19 07:42:45-07:00 hp.com!davidm
Rename: include/tdep-hppa.h -> include/tdep-hppa/libunwind_i.h

(Logical change 1.294)
ibunwind_i.h