diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-10-17 21:49:10 +0200 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-10-17 22:17:14 +0200 |
commit | 3fdcdcbcb424c45645aff1200adfb34450caf0b2 (patch) | |
tree | 6f6c56c685228efca740d74564027e44bc85e012 /tests | |
parent | 50f413ee377f3e3987b89f9726ba493a2038e9a2 (diff) | |
download | elfutils-3fdcdcbcb424c45645aff1200adfb34450caf0b2.tar.gz |
libdwfl/
2012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* dwfl_module_getdwarf.c (mod_verify_build_id): New function with code
from ...
(__libdwfl_getelf): ... here. Call it.
tests/
2012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* run-addrname-test.sh: New test for DSO with build-id bias.
* testfile69.core.bz2: New file.
* testfile69.so.bz2: New file.
Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ChangeLog | 6 | ||||
-rwxr-xr-x | tests/run-addrname-test.sh | 8 | ||||
-rw-r--r-- | tests/testfile69.core.bz2 | bin | 0 -> 4416 bytes | |||
-rwxr-xr-x | tests/testfile69.so.bz2 | bin | 0 -> 2099 bytes |
4 files changed, 14 insertions, 0 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 2495fb58..9e8ad2c1 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,9 @@ +2012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com> + + * run-addrname-test.sh: New test for DSO with build-id bias. + * testfile69.core.bz2: New file. + * testfile69.so.bz2: New file. + 2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com> * run-addrname-test.sh: New test for core vDSO bias. diff --git a/tests/run-addrname-test.sh b/tests/run-addrname-test.sh index 4feb1936..cc8aa335 100755 --- a/tests/run-addrname-test.sh +++ b/tests/run-addrname-test.sh @@ -298,4 +298,12 @@ __vdso_time ??:0 EOF +testfiles testfile69.core testfile69.so +testrun_compare ../src/addr2line --core=./testfile69.core -S 0x7f0bc6a33535 0x7f0bc6a33546 <<\EOF +libstatic+0x9 +??:0 +libglobal+0x9 +??:0 +EOF + exit 0 diff --git a/tests/testfile69.core.bz2 b/tests/testfile69.core.bz2 Binary files differnew file mode 100644 index 00000000..99553182 --- /dev/null +++ b/tests/testfile69.core.bz2 diff --git a/tests/testfile69.so.bz2 b/tests/testfile69.so.bz2 Binary files differnew file mode 100755 index 00000000..fdddab98 --- /dev/null +++ b/tests/testfile69.so.bz2 |