[PATCH 9/9] [libbacktrace] Add printdwarftest_dwz_cmp.sh test-case

Ian Lance Taylor iant@golang.org
Tue Jan 29 15:31:00 GMT 2019


On Tue, Jan 22, 2019 at 1:43 PM Tom de Vries <tdevries@suse.de> wrote:
>
> What is an acceptable way to proceed here? I could add a
> libbacktrace_nodwarf.la, and have the test-case add a -DFOR_TESTING or
> some such when compiling dwarf.c, and add the necessary handling in
> dwarf.c conditional on FOR_TESTING. WDYT?

I guess we could try it.

I'm very seriously concerned with the additional complexity being
added to this package.  It has to live in a very constrained space and
it's already complex.  Sacrificing maintainability for testing is a
bad tradeoff in the long run.  But we can try it.

Ian



More information about the Gcc-patches mailing list