summaryrefslogtreecommitdiff
path: root/tests/check-namespace.sh.in
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug + add testGregory LEOCADIE2023-01-111-0/+1
|
* check-namespace.sh: adjust aarch64 symbolsStephen Webb2022-11-081-33/+26
| | | | | | | Some symbols for aarch64 were missing, and some were marked as extraneous in this ABI checker. Fixes #389.
* Expose get_proc_info_in_range APIAdeel2022-07-081-0/+2
|
* Remove bashisms from tests/check-namespace.shStephen Webb2022-06-231-1/+1
| | | | | | Stray errors were being reported on travis.ci because /bin/sh was not bash. Fixes #374.
* Add port for Linux on LoongArchYouling Tang2021-11-301-1/+21
| | | | | | | | | | | | | | 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>
* Expose function-pointer-to-name APIBjörn Svensson2021-11-261-0/+2
| | | | | | 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.
* Add port for Linux on RISC-V (riscv)Zhaofeng Li2021-07-061-0/+15
| | | | | This commit adds support for Linux on RISC-V. Only 64-bit is supported at the moment.
* Add additional symbols to ignore on illumos and SolarisJason King2020-04-281-0/+5
|
* Allow to build without weak `backtrace` symbol. (#142)Bert Wesarg2019-12-041-1/+1
| | | Signed-off-by: Bert Wesarg <bert.wesarg@tu-dresden.de>
* Add port to Linux on IBM Z (s390x)Michael Munday2018-01-091-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove unw_handle_signal_frame from public API.Dave Watson2017-12-281-2/+0
|
* Change unw_init_local_signal to unw_init_local2(..., UNW_INIT_SIGNAL_FRAME)Dave Watson2017-08-161-2/+2
| | | | Add unw_init_local2 with a flag for better extensibility in the future
* Add new names to check-namespace.Doug Moore2017-05-121-0/+4
|
* unw_init_local_signalDoug Moore2017-04-031-1/+3
| | | | | init_local, but *not* setting use_prev_instr. This is necessary to correctly unwind using ucontext argument to signal handlers.
* dwarf: Make binary path calculation os-specific.Konstantin Belousov2017-01-191-0/+14
| | | | /proc/self/exe only works on Linux, move path computation to os-* files
* dwarf: Configurable cache sizeDave Watson2017-01-131-0/+2
| | | | | | | | 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
* Add TileGx platform support to libunwind.Zhi-Gang Liu2014-09-081-0/+17
| | | | | | | | "make check" passed. ====================================================== All 34 tests behaved as expected (2 expected failures) ====================================================== Zhi-Gang Liu @ Tilera
* Stop using nonportable echo arguments in testsTommi Rantala2012-08-211-1/+1
| | | | | echo arguments are not portable, so use printf when we need to print tabs or newlines.
* Ignore _fbss, _fdata, _ftext and _gp symbols on MIPSTommi Rantala2012-08-201-0/+7
|
* Add PPC namespace checkingTommi Rantala2012-08-201-0/+14
| | | | | PPC is the only architecture that has the get_func_addr() symbol exported, so add specific checks for this architecture.
* Update namespace checks for dwarf_find_unwind_tablesArun Sharma2012-03-121-0/+10
|
* [ARM] fix for the check-namespace test caseKen Werner2011-10-151-0/+21
| | | | | | | 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>
* Drop a call frame in tdep_trace and avoid a call to unw_step.Lassi Tuura2011-04-011-2/+0
| | | | | | | | | | | 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.
* Export unw_backtrace() and alias backtrace() to it.Lassi Tuura2011-04-011-0/+1
|
* Fix up compilation and test failuresArun Sharma2011-03-241-4/+0
|
* Fast back-trace for x86_64 for only collecting the call stack.Lassi Tuura2011-03-241-0/+6
| | | | | | 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.
* Factor out and export dwarf_find_debug_frame() functionArun Sharma2010-05-261-0/+9
| | | | Signed-off-by: Andris Zeila <andris.zeila@accenture.com>
* Refactor os specific code for x86 (both 32 and 64 bit).Arun Sharma2010-04-041-0/+2
| | | | Move Linux specific code into ${arch}/Gos-linux.c
* Implement _Unwind_GetIPInfo() as required by the C++ ABIArun Sharma2009-04-021-0/+2
| | | | | | | | | | | 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>
* Disable C++ exception support by default on x86.Arun Sharma2009-03-161-1/+1
|
* Don't check C++ ABI when it's not enabled.Arun Sharma2009-03-161-1/+3
|
* This patch eliminates one system call per unwind by not using theArun Sharma2008-06-161-0/+1
| | | | | | | | | | | | | 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>
* [ARM] This patch fix some testsuite issues on ARM:Bruna Moreira2008-04-211-9/+9
| | | | | | | | | | | | | | | | | | | - 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>
* On PA-Linux, allow for _Uhppa_setcontext symbol.hp.com!davidm2005-05-031-0/+19
| | | | | | | | | | | | | 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)
* Add checks for __libunwind_* aliases.homeip.net!davidm2004-08-201-0/+17
| | | | (Logical change 1.255)
* (check_local_unw_abi): Check for _U${plat}_strerror().bea.com!thallgre2004-08-181-0/+2
| | | | | | (check_generic_unw_abi): Likewise. (Logical change 1.245)
* ia64: For remote-only-case, don't expect to find _Uia64_get_elf_image9) orhp.com!davidm2004-05-071-6/+8
| | | | | | _Uia64_get_kernel_table(). (Logical change 1.234)
* Add x86-specific checks.hp.com!davidm2004-05-061-1/+11
| | | | (Logical change 1.233)
* (check_generic_unw_abi): Check for _U${plat}_get_kernel_table() onmostang.com!davidm2004-05-051-1/+5
| | | | | | linux only. (Logical change 1.227)
* (Logical change 1.225)mostang.com!davidm2004-05-051-0/+207
|
* Initial revisionmostang.com!davidm2004-05-051-0/+0