1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-28 12:11:45 +02:00
libunwind-eh_elf/src/coredump
Michael Munday 441adc46ff Add port to Linux on IBM Z (s390x)
This adds a port to Linux on the IBM Z platform (a.k.a s390x). It only
supports the 64-bit ABI. Most functionality is working and all the tests
pass with the exception of the coredump tests*.

Unwinding is only supported if DWARF unwind information is present.
libunwind can't currently make use of the backchain (if present).

The getcontext/setcontext functions only preserve/restore a subset of
registers. Currently this only consists of callee-saved registers and
some parameter registers.

Vector registers and access registers are not saved (and aren't callee-
saved) by getcontext and cannot currently be modified. They will however
be restored unmodified after resuming a context from a signal handler.

There is no special libunwind support for setjmp, the functionality is
emulated using glibc (I think all the ports do this for modern Linux
kernels).

* Unwinding on s390x requires floating point register access which the
coredump library doesn't currently support.
2018-01-09 07:37:55 -08:00
..
_UCD_access_mem.c One time whitespace fixup. 2014-09-27 09:47:23 -07:00
_UCD_access_reg_freebsd.c arm: FreeBSD/ARMv6 port 2017-08-24 09:08:58 -07:00
_UCD_access_reg_linux.c Add port to Linux on IBM Z (s390x) 2018-01-09 07:37:55 -08:00
_UCD_accessors.c Remove PROTECTED visibility 2017-12-28 08:26:42 -08:00
_UCD_create.c coredump: align coredump description pointer 2017-01-13 08:28:21 -08:00
_UCD_destroy.c core: Fix memory leak in libunwind-coredump. 2017-08-14 18:39:37 -07:00
_UCD_elf_map_image.c One time whitespace fixup. 2014-09-27 09:47:23 -07:00
_UCD_find_proc_info.c One time whitespace fixup. 2014-09-27 09:47:23 -07:00
_UCD_get_proc_name.c One time whitespace fixup. 2014-09-27 09:47:23 -07:00
_UCD_internal.h Rename and share `ALIGN' macro from _UCD_internal.h 2012-09-05 14:02:36 +03:00
_UCD_lib.h coredump: update license to be the same as rest of libunwind 2012-03-26 19:07:58 -07:00
_UPT_access_fpreg.c One time whitespace fixup. 2014-09-27 09:47:23 -07:00
_UPT_elf.c One time whitespace fixup. 2014-09-27 09:47:23 -07:00
_UPT_get_dyn_info_list_addr.c One time whitespace fixup. 2014-09-27 09:47:23 -07:00
_UPT_put_unwind_info.c One time whitespace fixup. 2014-09-27 09:47:23 -07:00
_UPT_resume.c One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-coredump.pc.in Add Cflags keyword to pkg-config metadata files 2013-08-26 05:40:19 -07:00
README Add support for unwinding coredump images 2012-03-12 20:11:08 -07:00

This code is based on "unwinding via ptrace" code from ptrace/
directory.

Files with names starting with _UCD_ are substantially changed
from their ptrace/_UPT_... progenitors.

Files which still have _UPT_... names are either verbiatim copies
from ptrace/, or unimplemented stubs.