| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Some symbols for aarch64 were missing, and some were marked as
extraneous in this ABI checker.
Fixes #389.
|
| |
|
|
|
|
|
|
| |
Stray errors were being reported on travis.ci because /bin/sh was not bash.
Fixes #374.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds support for Linux on LoongArch. Only 64-bit is supported
at the moment.
The changes were tested on a LoongArch architecture Loongson-3A5000
processor (LoongArch is a new RISC ISA, which is a bit like MIPS or
RISC-V.).
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Qing Zhang <zhangqing@loongson.cn>
Signed-off-by: Jinyang He <hejinyang@loongson.cn>
Signed-off-by: Youling Tang <tangyouling@loongson.cn>
|
|
|
|
|
|
| |
The unw_get_proc_name_by_ip() function returns the name
of a procedure just like unw_get_proc_name(), except that it's
looked up by an instruction-pointer instead of a cursor.
|
|
|
|
|
| |
This commit adds support for Linux on RISC-V. Only 64-bit is supported
at the moment.
|
| |
|
|
|
| |
Signed-off-by: Bert Wesarg <bert.wesarg@tu-dresden.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Add unw_init_local2 with a flag for better extensibility in the future
|
| |
|
|
|
|
|
| |
init_local, but *not* setting use_prev_instr.
This is necessary to correctly unwind using ucontext argument to signal handlers.
|
|
|
|
| |
/proc/self/exe only works on Linux, move path computation to os-* files
|
|
|
|
|
|
|
|
| |
Add interface for configurable dwarf cache size
* Use item size and round up to nearest power of 2.
* Initial cache still exists in BSS. Without this, it means we would fail
backtrace when out of memory. The test-mem test fails without this
|
|
|
|
|
|
|
|
| |
"make check" passed.
======================================================
All 34 tests behaved as expected (2 expected failures)
======================================================
Zhi-Gang Liu @ Tilera
|
|
|
|
|
| |
echo arguments are not portable, so use printf when we need to print
tabs or newlines.
|
| |
|
|
|
|
|
| |
PPC is the only architecture that has the get_func_addr() symbol
exported, so add specific checks for this architecture.
|
| |
|
|
|
|
|
|
|
| |
Add ARM specific symbols and ignore some symbols generated by the ARM Linux
default linker script.
Signed-off-by: Ken Werner <ken.werner@linaro.org>
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Signed-off-by: Andris Zeila <andris.zeila@accenture.com>
|
|
|
|
| |
Move Linux specific code into ${arch}/Gos-linux.c
|
|
|
|
|
|
|
|
|
|
|
| |
Provide a special implementation for ia64, because the unwind
information is such that an IP adjustment is not necessary before
looking up unwind info.
Bad things happen if libunwind only provides parts of the ABI and
the rest come from libgcc.
Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
getcontext in libc.
Also cleanup the namespace (check-name-space passes on x86_64 now).
Replace uses of offsets.h with ucontext_i.h.
Rename _x86_64_setcontext to _Ux86_64_setcontext.
TBD: Add CFI annotations for get/setcontext.
Signed-off-by: Paul Pluzhnikov <ppluzhnikov@google.com>
Signed-off-by: Arun Sharma <arun.sharma@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Gtest-bt: like on x86/-64, the stack size passed to sigaltstack() is
too small for ARM thus causing segmentation fault due to stack
overflow.
- Gtest-dyn1: code size definition of dynamic function (template()) on
testcase is too big for ARM architecture so memcpy() reads invalid
memory causing random crashes (segmentation fault). A better
solution would be to compile the function in a separate binary,
mmap() it and memcpy() from it instead, so maximum size is known for
sure.
- check-name-space.in: fix some "bashisms", it causes the script to
fail to run on N8XX's busybox shell.
Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br>
Signed-off-by: Bruna Moreira <bruna.moreira@indt.org.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004/12/02 18:37:47-08:00 hp.com!davidm
Allow _U${plat}_get_elf_image symbol on HPPA, too.
2004/12/02 00:40:45-08:00 mostang.com!davidm
Add support for hppa.
2004/11/30 22:44:47-08:00 mostang.com!davidm
Add rules for x86-64.
(Logical change 1.290)
|
|
|
|
| |
(Logical change 1.255)
|
|
|
|
|
|
| |
(check_generic_unw_abi): Likewise.
(Logical change 1.245)
|
|
|
|
|
|
| |
_Uia64_get_kernel_table().
(Logical change 1.234)
|
|
|
|
| |
(Logical change 1.233)
|
|
|
|
|
|
| |
linux only.
(Logical change 1.227)
|
| |
|
|
|