]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite, jit, Darwin: Handle Mach-O in assembler tests.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 13 Jan 2024 13:40:51 +0000 (13:40 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sat, 20 Apr 2024 14:43:45 +0000 (15:43 +0100)
commitb358e73b7d642afa7a2b836283910ef7539dafe2
tree169c9fd91f438f09a21a7e55439f1f6d5dfe8f75
parente73c4d7a236da0a1a9232861fe32bca0e5304870
testsuite, jit, Darwin: Handle Mach-O in assembler tests.

Several of the jit tests check for assembler-specific output
which differs on Mach-O from ELF.

This patch uses the facility to make the scans target-dependent
and adds handling for darwin.

gcc/testsuite/ChangeLog:

* jit.dg/test-setting-alignment.c:  Handle Darwin in
jit-verify-assemble output.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
(cherry picked from commit 283e3a974bf08e4fb64d51d2062e1f7ed7482ff4)
gcc/testsuite/jit.dg/test-setting-alignment.c