Optional matching for run_dump_test
authorAlan Modra <amodra@gmail.com>
Sat, 7 Dec 2019 12:02:52 +0000 (22:32 +1030)
committerAlan Modra <amodra@gmail.com>
Sun, 8 Dec 2019 11:33:53 +0000 (22:03 +1030)
commitbc754168c7c3fc64e40bb7ddd97ea1ad07fb32d2
tree7ad59eaed63d19869be1254f850dac48a42f968a
parentc14aab8cd3135a86915f4be4ea711b30de674bb3
Optional matching for run_dump_test

This adds an alternative to using #... in dump files, useful where we
only want to allow specific extra output.  DW_CFA_nop in CIEs and FDEs
to pad out to required alignment (larger for 64-bit than 32-bit) is
an example where these optional match patterns are useful.

binutils/
* testsuite/lib/binutils-common.exp (regexp_diff): Support #?REGEXP.
ld/
* testsuite/ld-elf/eh4.d: Match optional padding DW_CFA_nop in FDEs.
* testsuite/ld-elf/eh5.d: Likewise, and extra CIEs emitted on
embedded targets.
binutils/ChangeLog
binutils/testsuite/lib/binutils-common.exp
ld/ChangeLog
ld/testsuite/ld-elf/eh4.d
ld/testsuite/ld-elf/eh5.d
This page took 0.024966 seconds and 4 git commands to generate.