]> sourceware.org Git - debugedit.git/commit
debugedit: Add DWARF5 tests
authorMark Wielaard <mark@klomp.org>
Mon, 15 Feb 2021 11:29:26 +0000 (12:29 +0100)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 16 Feb 2021 07:21:36 +0000 (09:21 +0200)
commita9194f26c2e4d3af6c415554a0d793e21da62c8c
tree1255e9c3815baa1bd7ca5ddb48ec143f1f5bfdf4
parentdfc5eadc693f05d06408537e155d73e1038be658
debugedit: Add DWARF5 tests

Adjust some existing tests so they are run with an explicit -gdwarf-4
and add an -gdwarf-5 variant to make testing independent of the gcc
default DWARF version. The tests that might generate a DWARF5 line
table work for both version 4 and 5 and some also ignore stderr output
when using -p.debug_line_str because some combinations of gcc/binutils
generate DWARF5 debug info with DWARF4 debug line tables, even when
-gdwarf-5 is given.

Tested against GCC10, which defaults to DWARF4 and GCC11, which defaults
to DWARF5.
tests/debugedit.at
This page took 0.025143 seconds and 5 git commands to generate.