tests: Test debuginfo through debuglink and build-id sections
authorSasha Goldshtein <goldshtn@gmail.com>
Thu, 9 Feb 2017 20:59:47 +0000 (15:59 -0500)
committerSasha Goldshtein <goldshtn@gmail.com>
Tue, 21 Feb 2017 09:30:43 +0000 (09:30 +0000)
commit3abf7f5fc5b397f8c69a1f943c1892c5546641e7
tree6a67f88a92bd5537fcb56bcad4b04b509b39d632
parent03ab5e8fa0d772bfdca13b5fa05fbf7b80563a1e
tests: Test debuginfo through debuglink and build-id sections

This commit introduces support for tests of the new debuglink and
build-id debuginfo resolution functionality. The tests build a
dummy.c file with a debuglink section, and again with a build-id
section, and make sure that the symbol resolution code can locate
the debug information correctly (in the binary's directory for
debuglink, and in /usr/lib/debug/.build-id for the build-id).
tests/python/CMakeLists.txt
tests/python/dummy.c [new file with mode: 0644]
tests/python/test_debuginfo.py [new file with mode: 0755]