[PATCH] tests: Add varlocs-self and exprlocs-self tests.

Mark Wielaard mark@klomp.org
Wed Nov 15 20:01:00 GMT 2017


On Fri, 2017-11-10 at 17:12 +0100, Mark Wielaard wrote:
> Make sure the testcases (library functions they use) don't crash,
> triggers self-check/asserts or leaks memory under valgrind. This
> also helps making sure newer DWARF constructs are handled (when
> building with -gdwarf-5).

I pushed this to master now.

These tests have been really helpful for hacking on the DWARF5 support.
Current WIP patches can be found here:
https://code.wildebeest.org/git/user/mjw/elfutils/log/?h=dwarf5

The tests don't fully pass yet when doing a CFLAGS="-g -O2 -gdwarf-5"
build with gcc. In particular then new loclists don't work yet. But
making progress.

Cheers,

Mark



More information about the Elfutils-devel mailing list