Re: [PATCH] tests: Run run-varlocs-self.sh for object files with --exprlocs.

2020-04-21 Thread Mark Wielaard
On Fri, Apr 17, 2020 at 12:34:17PM +0200, Mark Wielaard wrote: > The varlocs test relies on finding addresses for the CUs, even in > object files. This might not be true (for example when building with > gcc -flto, which only emits partial, type only, debuginfo). Split > running the self tests in r

[PATCH] tests: Run run-varlocs-self.sh for object files with --exprlocs.

2020-04-17 Thread Mark Wielaard
The varlocs test relies on finding addresses for the CUs, even in object files. This might not be true (for example when building with gcc -flto, which only emits partial, type only, debuginfo). Split running the self tests in running on executables and shared libraries as normal, but run object fi