History log of /external/libunwind/tests/test-coredump-unwind.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/test-coredump-unwind.c
0d7738ed4f7dae1b6b77d1a4dd25c5ea765de81f 17-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Cleanup dynamically allocated memory before exit in tests

Cleanup dynamically allocated memory before exit in tests in a few
places where missing. While such cleanups right before exit do not
usually make much sense (as the operating system would cleanup anyway,
so manual cleanups only burn CPU cycles), we will want to catch any
potential problems in libunwind related to the cleanups. This also stops
valgrind complaining about unreleased memory.
/external/libunwind/tests/test-coredump-unwind.c
939a5e195e98c09628aeb635626873ee2f919fa4 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Annotate potentially unused variable in tests/test-coredump-unwind.c

tests/test-coredump-unwind.c: In function 'handle_sigsegv':
test-coredump-unwind.c:216:15: warning: variable 'uc' set but not used [-Wunused-but-set-variable]
/external/libunwind/tests/test-coredump-unwind.c
68b20804e4e7098bd81bc42e2efd733b7cec8374 12-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Clear out `ip' to avoid -Wuninitialized warning in tests/test-coredump-unwind.c

This one is for architectures that we have not specifically added
support for in `tests/test-coredump-unwind.c'.

tests/test-coredump-unwind.c: In function 'handle_sigsegv':
test-coredump-unwind.c:238:10: warning: 'ip' is used uninitialized in this function [-Wuninitialized]
/external/libunwind/tests/test-coredump-unwind.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/test-coredump-unwind.c
4ab9e5dd10e7b9653651343ac4cfe79bfe4e4ee3 08-Aug-2012 Martin Milata <mmilata@redhat.com> MiniDebugInfo test: tests/run-coredump-unwind-mdi

Test that creates MiniDebugInfo-containing binary and then checks if it
can recover the procedure names from its coredump.

Signed-off-by: Martin Milata <mmilata@redhat.com>
/external/libunwind/tests/test-coredump-unwind.c
2dbc26dde881af0a0130a492e04ab0493820da3e 08-Aug-2012 Martin Milata <mmilata@redhat.com> Make coredump test also test unw_get_proc_name

Signed-off-by: Martin Milata <mmilata@redhat.com>
/external/libunwind/tests/test-coredump-unwind.c
814bd79fb1814eb5bbeb2fdb652d5ae08f1edd28 04-Aug-2012 Arun Sharma <asharma@fb.com> Fix some compiler warnings
/external/libunwind/tests/test-coredump-unwind.c
9158e522db2f3d5675438b535000ce862259f14d 31-Jul-2012 Tommi Rantala <tt.rantala@gmail.com> Fix IP vs. PC confusion in tests on ARM

The intention in the test cases is to print the "instruction pointer"
value at certain places, and on ARM we will want to get the Program
Counter in these cases. IP is a scratch register, and not very
interesting.
/external/libunwind/tests/test-coredump-unwind.c
0f9a540c8c67ec4bb2e03130feea00a0cc9bf30c 17-May-2012 Martin Milata <mmilata@redhat.com> coredump: add test

Program test-coredump-unwind was modified to map backing files based on
virtual addresses instead of segment numbers.

The crasher.c is a program that essentially calls some functions and
then writes to invalid address causing a crash. Before that, it detects
which executables are mapped to which virtual addresses and writes this
information to a file suitable for consumption by test-coredump-unwind.
The mapping information is obtained form /proc/self/maps, so currently
it only works on linux.

The test itself is a shell script, which first runs the program and then
runs test-coredump-unwind on the resulting core and address space
map file to check whether the stack trace obtained from the dump roughly
corresponds to what it should look like.

Signed-off-by: Martin Milata <mmilata@redhat.com>
/external/libunwind/tests/test-coredump-unwind.c
61a173763ea4fdc46b34785fc343a483bf3f4c9e 23-May-2012 Konstantin Belousov <kib@FreeBSD.org> Fix test build on FreeBSD.
/external/libunwind/tests/test-coredump-unwind.c
6da4dde70ed83e5dc5e9d03af342466ef4dd6145 13-Mar-2012 Arun Sharma <asharma@fb.com> Compile fix for platforms other than linux-i386
/external/libunwind/tests/test-coredump-unwind.c
f0bb806ecbbdc62f0e59716221212d75cc78e9f8 13-Mar-2012 Arun Sharma <asharma@fb.com> Move the test case to tests dir.
/external/libunwind/tests/test-coredump-unwind.c