Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@palves.net>
To: Gary Benson <gbenson@redhat.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH] Disable Clang's integrated assembler for two testcases
Date: Thu, 20 Aug 2020 13:17:17 +0100	[thread overview]
Message-ID: <03afeec7-e1e2-0403-03b6-04a3dd5916b6@palves.net> (raw)
In-Reply-To: <1597848954-21937-1-git-send-email-gbenson@redhat.com>

On 8/19/20 3:55 PM, Gary Benson via Gdb-patches wrote:
> Hi all,
> 
> 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 patch causes Clang to invoke the system assembler to assemble
> the relevant files.
> 
> Checked on Fedora 32 x86_64, GCC and clang.  Ok to commit?

Given we have this in most gdb.dwarf2 tests:

 # This test can only be run on targets which support DWARF-2 and use gas.
                                                              ^^^^^^^^^^^

this seems fine to me.

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

Missing period after "Likewise".

Thanks,
Pedro Alves


  reply	other threads:[~2020-08-20 12:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-19 14:55 Gary Benson
2020-08-20 12:17 ` Pedro Alves [this message]
2020-08-25 14:35   ` Gary Benson
2020-08-25 14:40     ` Pedro Alves
2020-08-25 14:54       ` Gary Benson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=03afeec7-e1e2-0403-03b6-04a3dd5916b6@palves.net \
    --to=pedro@palves.net \
    --cc=gbenson@redhat.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox