History log of /external/libunwind/tests/Gtest-dyn1.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6b55e0ab51eee7dbea679fda2b37ecf61f0025e5 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Use `UNUSED' in tests
/external/libunwind/tests/Gtest-dyn1.c
aed6c8b994f256afee66146f7a4b4e003b7f7d5f 30-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Check __builtin___clear_cache() at configuration time

Fixup commit 39b83981 ("Flush icache with __builtin___clear_cache() in
tests when compiling with GCC") to fix compilation with older GCC
versions that do not provide __builtin___clear_cache().
/external/libunwind/tests/Gtest-dyn1.c
39b83981594d2e49a83e4aaedcab8395c01ddd03 11-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Flush icache with __builtin___clear_cache() in tests when compiling with GCC

When compiling with GCC, use the builtin instruction cache flushing
mechanism in all tests where it is needed.

Quoting GCC docs: ''If the target does not require instruction cache
flushes, __builtin___clear_cache has no effect. Otherwise either
instructions are emitted in-line to clear the instruction cache or a
call to the __clear_cache function in libgcc is made.''.
/external/libunwind/tests/Gtest-dyn1.c
f42a8de0fa4b99c04e38a35bb5fd48a1ba9188b8 02-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Annotate unused parameters in tests

Compiling the tests with -Wextra results to lots of warnings for unused
parameters. Annotate these cases with the `unused' attribute to avoid
the warnings.
/external/libunwind/tests/Gtest-dyn1.c
3977724e82d8bc977d6c239716940e858451a4de 26-Oct-2011 Ken Werner <ken.werner@linaro.org> Add missing <signal.h> include directive

The testcase tests/Gtest-dyn1.c uses the signal() function and should
therefore include the corresponding header file.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
/external/libunwind/tests/Gtest-dyn1.c
288f18f7ae30fffa3254e19d769cbe3e8e8ca741 07-Apr-2011 Ken Werner <ken.werner@linaro.org> ARM: tests/Gtest-dyn1.c workaround for GCC bug.

Temporarily workaround for a GCC bug that prevents code from obtaining the
thumb marker: https://bugs.launchpad.net/gcc-linaro/+bug/721531.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
/external/libunwind/tests/Gtest-dyn1.c
3b917f2d16c1e02e7d3a610ed0bebe51d4f5f610 06-Apr-2011 Ken Werner <ken.werner@linaro.org> ARM: tests/Gtest-dyn1.c fixes.

Define an appropriate fdesc struct and its corresponding accessors that take
care of the thumb marker on ARM. Call the __clear_cache built-in instead of
flush_cache if the GNU compiler is used.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
/external/libunwind/tests/Gtest-dyn1.c
574d32a8296567752507e45816a43346d6113137 04-Apr-2010 Konstantin Belousov <kostik@pooma.home> malloc.h is not needed.
/external/libunwind/tests/Gtest-dyn1.c
6e07e94d5dc29425d4f28995e7fed11ac618810d 04-Apr-2010 Konstantin Belousov <kostik@pooma.home> Revert "Test for malloc.h."

This reverts commit 22b17269cf508711b0ab209b50f6a65882672bc8.
/external/libunwind/tests/Gtest-dyn1.c
22b17269cf508711b0ab209b50f6a65882672bc8 03-Apr-2010 Konstantin Belousov <kostik@pooma.home> Test for malloc.h.
/external/libunwind/tests/Gtest-dyn1.c
570c09a2afe255ce30b64e3298218ffbcff73e80 16-Oct-2009 Belisko Marek <marek.belisko@gmail.com> Fix another compiler warning.
/external/libunwind/tests/Gtest-dyn1.c
6f282a00f55d0bc11f131da5d3591a1a4030a9f9 21-Apr-2008 Bruna Moreira <bruna.moreira@openbossa.org> [ARM] This patch fix some testsuite issues on ARM:

- 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>
/external/libunwind/tests/Gtest-dyn1.c
a72abd4e46eb6e92747412fb036d0fb8279350ac 16-May-2007 Jan Kratochvil <jan.kratochvil@redhat.com> 2007-04-05 Jan Kratochvil <jan.kratochvil@redhat.com>

* tests/test-ptrace.c (target_pid_kill): New function.
(target_pid, main): TARGET_PID made static, for target_pid_kill ().
(main): Register target_pid_kill () for atexit(3).

2007-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>

* tests/Gtest-dyn1.c, tests/test-async-sig.c, tests/test-ptrace.c:
Fixed lockups on broken libunwind (as ppc64 is).

2007-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>

* tests/test-async-sig.c (do_backtrace): Limit maximum backtrace depth
to 100 iterations; it workarounds FC6 DWARF-broken glibc.

2006-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>

* tests/test-ptrace.c (main): Check for too many unexpected child
signals, such as the common `SIGSEGV'.
/external/libunwind/tests/Gtest-dyn1.c
c9a01bf094192594f3cae1c5ff5ab116f00ea635 22-Apr-2004 hp.com!davidm <hp.com!davidm> (MAX_FUNC_SIZE): New macro.
(main): Use MAX_FUNC_SIZE instead of open-coding 256 bytes.

(Logical change 1.210)
/external/libunwind/tests/Gtest-dyn1.c
6bf5cdd335e04b3b3fbc27f050aa5de920780f3b 28-Mar-2003 mostang.com!davidm <mostang.com!davidm> (main): Set di.end_ip based on the region's insn_count (old value for di.end_ip was
too small when using ECC).

(Logical change 1.70)
/external/libunwind/tests/Gtest-dyn1.c
0e2f4866f2291c9b719064fbd6bf39699bf261e6 27-Mar-2003 mostang.com!davidm <mostang.com!davidm> (flush_cache): Move to flush-cache.S.

(Logical change 1.68)
/external/libunwind/tests/Gtest-dyn1.c
a1aed8c295d14b1e7eb908f3efa1ddd9b75696f7 22-Feb-2003 hp.com!davidm <hp.com!davidm> Rename: tests/test-dyn1.c -> tests/Gtest-dyn1.c

(Logical change 1.53)
/external/libunwind/tests/Gtest-dyn1.c
37d99c0c9fd0ccb3a26b78456213125748ec4421 22-Feb-2003 hp.com!davidm <hp.com!davidm> Initial revision
/external/libunwind/tests/Gtest-dyn1.c