Message ID | 20240509174236.2278921-6-dmalcolm@redhat.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=izV6/YRo; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VZzsx4mLDz20fc for <incoming@patchwork.ozlabs.org>; Fri, 10 May 2024 03:44:37 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D14393844036 for <incoming@patchwork.ozlabs.org>; Thu, 9 May 2024 17:44:35 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 047F8385843B for <gcc-patches@gcc.gnu.org>; Thu, 9 May 2024 17:42:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 047F8385843B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 047F8385843B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715276572; cv=none; b=Sjjuu16K2ERL/p5In8Z08n67bft1zPhC98+A4hzSUGOAATq9xCUIH406x74FyKwtJBMYIqEHWc48fjQLcqmCFuzo2UJvo4QPtxOi41mPb6NJ+c6JJImQvgSU+4CEG7m4be8Gcv2isj23geMvZbv38fXynYrSHP7b6VtAsc2FemI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715276572; c=relaxed/simple; bh=fXMrZ16YJ+bfILH7mQB/sjCv8MnXBuZf5f0D3rgtUhI=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=w3aTqZywg/eyyPHqQUmJrgTTXAUA11VXLKKdUPWgZCjwmq78ZlihDdSlFCWLszQjMJHuFSVBek/HludEGDXlHq8Zr04FqcgG+KESLBULQ4dKtxTmW7i9Tu7EQWflP9Enp5smlf1SDDTnRJQ8oropMNIMKmiD2kkUDtRzA9y4wd8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1715276570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=E5NSvdwzJKzuVPIAI35lPkgca0X6h/pNCJJZk5e22Xo=; b=izV6/YRoHWOA7PXkM5udY1x3XjxRSjmRBwC2QUS+sokMc1djxV9vl68AkcIM9pYfSf/s7Z gmhnLfynlSh0OyWkQJ5SkmLixZfA/rQm0p5QmgHXA5C6BVeglN2ISZ07n7rucTeZNlOYsJ ARkSW+lksch/Tx/1zqWTr7Rog9F0XlU= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-522-tBDogNUaO2ieSYQmlOqGtw-1; Thu, 09 May 2024 13:42:49 -0400 X-MC-Unique: tBDogNUaO2ieSYQmlOqGtw-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 03EDE800262 for <gcc-patches@gcc.gnu.org>; Thu, 9 May 2024 17:42:49 +0000 (UTC) Received: from t14s.localdomain.com (unknown [10.22.18.2]) by smtp.corp.redhat.com (Postfix) with ESMTP id D1514746821; Thu, 9 May 2024 17:42:48 +0000 (UTC) From: David Malcolm <dmalcolm@redhat.com> To: gcc-patches@gcc.gnu.org Cc: David Malcolm <dmalcolm@redhat.com> Subject: [PATCH 05/21] jit.exp: handle dwarf version mismatch in jit-check-debug-info [PR110466] Date: Thu, 9 May 2024 13:42:20 -0400 Message-Id: <20240509174236.2278921-6-dmalcolm@redhat.com> In-Reply-To: <20240509174236.2278921-1-dmalcolm@redhat.com> References: <20240509174236.2278921-1-dmalcolm@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
Various backports to gcc 13 (analyzer, jit, diagnostics)
|
expand
|
diff --git a/gcc/testsuite/jit.dg/jit.exp b/gcc/testsuite/jit.dg/jit.exp index 35d38cec5bc..83fb6371fd2 100644 --- a/gcc/testsuite/jit.dg/jit.exp +++ b/gcc/testsuite/jit.dg/jit.exp @@ -440,6 +440,10 @@ proc jit-check-debug-info { obj_file cmds match } { send $cmd } expect { + -re "Dwarf Error: wrong version in compilation unit header" { + set testcase [testname-for-summary] + unsupported "$testcase: gdb does not support dwarf version" + } -re $match { pass OK } default { fail FAIL } }
gcc/testsuite/ChangeLog: PR jit/110466 * jit.dg/jit.exp (jit-check-debug-info): Gracefully handle too early versions of gdb that don't support our dwarf version, via "unsupported". (cherry picked from commit r14-2223-gc3c0ba5436170e) Signed-off-by: David Malcolm <dmalcolm@redhat.com> --- gcc/testsuite/jit.dg/jit.exp | 4 ++++ 1 file changed, 4 insertions(+)