]> git.ipfire.org Git - thirdparty/gcc.git/commit - libbacktrace/configure.ac
[libbacktrace] Add test-cases exercising build-id and dwz
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Jan 2019 16:25:46 +0000 (16:25 +0000)
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Jan 2019 16:25:46 +0000 (16:25 +0000)
commit5c1bcc1b49707d0330ee5db7214471b845c07a93
tree080a4c5201ecf818750ce6e5e53ed87a00a4bc75
parent107cba1143499f38426b8831811ffad96699e1d8
[libbacktrace] Add test-cases exercising build-id and dwz

Add test-cases b2test_buildid and b3test_dwz_buildid.

The last one triggers the segfault fixed by "[backtrace] Avoid segfault"
( r268275 ).

2019-01-29  Tom de Vries  <tdevries@suse.de>

* install-debuginfo-for-buildid.sh.in: New script.
* Makefile.am (check_PROGRAMS): Add b2test and b3test.
(TESTS): Add b2test_buildid and b3test_dwz_buildid.
* Makefile.in: Regenerate.
* configure.ac (HAVE_ELF): Set with AM_CONDITIONAL.
(READELF): Set with AC_CHECK_PROG.
(install-debuginfo-for-buildid.sh): Generate with AC_CONFIG_FILES.
* configure: Regenerate.
* elf.c (SYSTEM_BUILD_ID_DIR): Factor out of ...
(elf_open_debugfile_by_buildid): ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268369 138bc75d-0d04-0410-961f-82ee72b054a4
libbacktrace/ChangeLog
libbacktrace/Makefile.am
libbacktrace/Makefile.in
libbacktrace/configure
libbacktrace/configure.ac
libbacktrace/elf.c
libbacktrace/install-debuginfo-for-buildid.sh.in [new file with mode: 0644]