Disable Clang's integrated assembler for two testcases
authorGary Benson <gbenson@redhat.com>
Tue, 25 Aug 2020 14:25:04 +0000 (15:25 +0100)
committerGary Benson <gbenson@redhat.com>
Tue, 25 Aug 2020 14:25:04 +0000 (15:25 +0100)
commitb04aa1fc8c9d4a79e6293a3a1df7507052afedf3
tree9b095430024a8e411bbcdfc61cfc6d1b1c68225a
parent9f68b4534846660ad07f988815523ce75dc8f78a
Disable Clang's integrated assembler for two testcases

gdb.dwarf2/dw2-dir-file-name.exp fails to build using Clang because
the generated assembly language contains .ascii directives with more
than one string literal.  gdb.dwarf2/dw2-restore.exp fails to build
using Clang because it contains .func and .endfunc directives.
This commit causes Clang to invoke the system assembler to assemble
the relevant files.

gdb/testsuite/ChangeLog:

* gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
when compiling with clang.
* gdb.dwarf2/dw2-restore.exp: Likewise
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp
gdb/testsuite/gdb.dwarf2/dw2-restore.exp