diff options
author | Mark Wielaard <mark@klomp.org> | 2020-08-23 16:21:08 +0200 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2020-09-17 20:13:13 +0200 |
commit | 71e3d1970c00a74be16c0f5a3fcaced359077135 (patch) | |
tree | 0b8e2531078c897dad1349c83761f85f81b9231c /libiberty/strndup.c | |
parent | ee7aa7e7b9d490c9c929edfd4d4a730df2f0052d (diff) | |
download | gcc-71e3d1970c00a74be16c0f5a3fcaced359077135.zip gcc-71e3d1970c00a74be16c0f5a3fcaced359077135.tar.gz gcc-71e3d1970c00a74be16c0f5a3fcaced359077135.tar.bz2 |
Add DWARF5 variants of assembly scan tests that use DW_FORM_implicit_const
Some DWARF tests scan the assembly output looking for constant values.
When using DWARF5 those constants might use DW_FORM_implicit_const,
which are output (in the comments) after the attribute instead of
before. To make sure these tests work introduce a -gdwarf-5 variant
of these tests and explicitly use -gdwarf-2 for the original.
gcc/testsuite/ChangeLog:
* gcc.dg/debug/dwarf2/inline2.c: Add -gdwarf-2.
* g++.dg/debug/dwarf2/inline-var-1.C: Likewise.
* gcc.dg/debug/dwarf2/pr41445-5.c: Likewise.
* gcc.dg/debug/dwarf2/pr41445-6.c: Likewise.
* gcc.dg/debug/dwarf2/inline6.c: New variant with -gdwarf-5.
* g++.dg/debug/dwarf2/inline-var-3.C: Likewise.
* gcc.dg/debug/dwarf2/pr41445-7.c: Likewise.
* gcc.dg/debug/dwarf2/pr41445-8.c: Likewise.
Diffstat (limited to 'libiberty/strndup.c')
0 files changed, 0 insertions, 0 deletions