Message ID | 20250401011744.2267367-2-volodymyr_babchuk@epam.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <xen-devel-bounces@lists.xenproject.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E713AC36010 for <xen-devel@archiver.kernel.org>; Tue, 1 Apr 2025 01:18:16 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.933347.1335322 (Exim 4.92) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1tzQGL-0006qk-7l; Tue, 01 Apr 2025 01:17:57 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 933347.1335322; Tue, 01 Apr 2025 01:17:57 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1tzQGL-0006qA-2l; Tue, 01 Apr 2025 01:17:57 +0000 Received: by outflank-mailman (input) for mailman id 933347; Tue, 01 Apr 2025 01:17:56 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from <SRS0=gZL1=WT=epam.com=Volodymyr_Babchuk@srs-se1.protection.inumbo.net>) id 1tzQGK-0006nG-CK for xen-devel@lists.xenproject.org; Tue, 01 Apr 2025 01:17:56 +0000 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on20630.outbound.protection.outlook.com [2a01:111:f403:2607::630]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 23d7f4c8-0e97-11f0-9ea7-5ba50f476ded; Tue, 01 Apr 2025 03:17:55 +0200 (CEST) Received: from GV1PR03MB10456.eurprd03.prod.outlook.com (2603:10a6:150:16a::21) by PA4PR03MB6703.eurprd03.prod.outlook.com (2603:10a6:102:ec::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.46; Tue, 1 Apr 2025 01:17:51 +0000 Received: from GV1PR03MB10456.eurprd03.prod.outlook.com ([fe80::a41e:5aa8:e298:757e]) by GV1PR03MB10456.eurprd03.prod.outlook.com ([fe80::a41e:5aa8:e298:757e%4]) with mapi id 15.20.8534.043; Tue, 1 Apr 2025 01:17:51 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion <xen-devel.lists.xenproject.org> List-Unsubscribe: <https://lists.xenproject.org/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xenproject.org> List-Help: <mailto:xen-devel-request@lists.xenproject.org?subject=help> List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=subscribe> Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" <xen-devel-bounces@lists.xenproject.org> X-Inumbo-ID: 23d7f4c8-0e97-11f0-9ea7-5ba50f476ded ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=HmUDlfz14M7RkPqJu/JFHDVAAYvGPh4RaVloRgwAOKkbkph6qXig4Wp3X4YezopFdCPoo9hb1UECQvI2auy01Jx3GeIJrftjqtU8n3qqixoplFQnDrzWbbYjCoifNPlqpycZMbUqv8BhheRdxH1IgJIgsDXfhUExZnP8E/48In2A8h7gPdLik2qlctZAQTep4nQHE6Mf7y4jdN8cUN/vQzwf2W8kk9kU1ORUNr8C9473rUlJ2ghSniWU+g99QyAxjJcsOeLMFULrBOyQDuYy1iGHqiB4f/TvYifrTptz+6UdQz1n6s0w7Nq5lZjzLPzAbLob0KiL9pAlNL/JXxw9RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6eauTMPP1KriVl2OZ/pYML5XrBsfISutp4e5CHq9zXk=; b=Rh1f0J1sQOCnONn2lZ6au3YLNRcjqiRDG0f4Ftu96rrHLysqw1b30TOm2VXCB5K7v09QQp5IYUhO3nENG5UzK1xPNO82s7iL3FH3u0dN8ZQz+4J3oX8V/yD4ZkXQ2nIeqnIS4uah10sxsIda0fFrYKg/SJbTq7qvosZ4Qaok7HkiuzasglBpYug57edEURqtKgI569QUJrHH2osEjpsshiSFcoC7DrS71K63nv+kr9LZ6GRVD2M+LdxFUkD1KpLS2cN6ecPRpOIS0vk3O8CxcTmC4vJcBHwE4CajG2FShMn/qDquMljgEcDY2YJogkDhCfLuLYYS6Y9erzT5OQDR2A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=epam.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6eauTMPP1KriVl2OZ/pYML5XrBsfISutp4e5CHq9zXk=; b=OLGhuDc4wXoAJeI68NticqjH+ss5QthC7Slg6xxqIHOotpW2p5Pormm550Dn139xxrnUTXckOZSNcSF01m9HVlFkq/X10WNHf4cGbc0ZvqbuJmqEjo8llVPHFTcYeb4eHUyZTV87ZqYvwPdxOLKD7tM1+uhUZyqufwq22NKirTIUci6O/EZxrdfE2C9l4HCJQOPRddJkBc8KTSZc5OCHsQygaqr4lXrmyaextNJFtxc6KyvyhJ0pGZNysy8SAD8dg3P5ykXJfBQQNICp9Yve65xy0gg2KjKS09OsrWtgIGuvxkWhY5KQ399jEDH2YtouZoNsyCMCEZjYFci07afxEg== From: Volodymyr Babchuk <Volodymyr_Babchuk@epam.com> To: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org> CC: Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>, Andrew Cooper <andrew.cooper3@citrix.com>, Anthony PERARD <anthony.perard@vates.tech>, Michal Orzel <michal.orzel@amd.com>, Jan Beulich <jbeulich@suse.com>, Julien Grall <julien@xen.org>, =?iso-8859-1?q?Roger_Pau_Monn=E9?= <roger.pau@citrix.com>, Stefano Stabellini <sstabellini@kernel.org> Subject: [PATCH v3 1/3] xen: gcov: add support for gcc 14 Thread-Topic: [PATCH v3 1/3] xen: gcov: add support for gcc 14 Thread-Index: AQHboqPjoKv09jK/Dk2C7qcEL02CdA== Date: Tue, 1 Apr 2025 01:17:51 +0000 Message-ID: <20250401011744.2267367-2-volodymyr_babchuk@epam.com> References: <20250401011744.2267367-1-volodymyr_babchuk@epam.com> In-Reply-To: <20250401011744.2267367-1-volodymyr_babchuk@epam.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.48.1 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: GV1PR03MB10456:EE_|PA4PR03MB6703:EE_ x-ms-office365-filtering-correlation-id: 20e60f01-19eb-45c7-a7ff-08dd70bb05fb x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|366016|376014|1800799024|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?q?Pp8//HL1rigYOceyxaJPEO2Uab?= =?iso-8859-1?q?6ZrCi2NKfRDTrmHZMBheTrORYoI7ptoA7qwyMMUbK7O/lXNH6TeTTQTB8k+N?= =?iso-8859-1?q?oWCPqo6qlp/lBl7Q0+elEN+4LBxu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x3+3?= =?iso-8859-1?q?Dgh+AbNv9wO6+NXxLMYkeshcopqgkA6G4HTuHkiE5Z+SHGX/VmyU3cyNBBRh?= =?iso-8859-1?q?qEZ/sW4rjqowPVkByDRh73faabyk6l4KjN4UfN1uN3IbpC8H2bwYwvi8VlVM?= =?iso-8859-1?q?bIuVcpkCs3b+2YETCsOqkIG1+1yFmUXUnpR4RCaEr//St0FFf2IN0hJPbKyU?= =?iso-8859-1?q?y/VJd6TK+S4cXf4X9+KJco+v7radcXPaFi29pIRRc2RJM0u0uyw3RnrHzTWJ?= =?iso-8859-1?q?huNdLAnMq/KhaF945xuv2+RSVgUdjCBkSFPylh4RwJ4ZklyWYgWQ5FMcwVOE?= =?iso-8859-1?q?8u+Z0QbJhEWICvVt7UXjrL7BWzNnst0VUu6twux7xLzvHwSNAkYpcUJDS3Ih?= =?iso-8859-1?q?k/J15yuvvKaAQYxMrAXhxXtKCCNvUILMXPhklEPiVz4PR4rBcxCWUm5F6ePU?= =?iso-8859-1?q?AyrlWEk8SekglPU4qN+rODSYH+ArguweY5+kVUqVCcecDWgiHzz+6Gq+rk+b?= =?iso-8859-1?q?0QEyrx?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:GV1PR03MB10456.eurprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(1800799024)(38070700018);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?XjC+f851RNrbupabmBI99y8?= =?iso-8859-1?q?vEzHz22snNgVbiXwbLxqX4ff4UbHWyuMuKgVluMYmwO+cUIJjj6Mi3EkPHZo?= =?iso-8859-1?q?jgElqyw+NSta8H3TRsulRTIw934kWHevQRDadOuK+Dr+1oPUdeiPfOjuzTnr?= =?iso-8859-1?q?QBR0/KILPKFAbApa4BtlAIvOab3daqhjWuiL1Xzo0BF7r6rL29lVUSh/ZT79?= =?iso-8859-1?q?FPBlNvtKNtN5Zu+Df5dYu1Ym6QsswAwocYaHyWey2M8XgFK7AYyHs4/pQlr6?= =?iso-8859-1?q?7KZMu3VMOjcOA3bNrby2mWXOUdhbdicNDButkI0kjeDH9lXKcuEGDnAdrLog?= =?iso-8859-1?q?7s1WPOnpqsDySXE7lgjEEb2YMfqK8TLdcvc7ZW+gJQminO0odqssHZzglv1E?= =?iso-8859-1?q?dFTC8aafHmsVSE+/T0HN6doRNIPF+9nyxDSOjLCFooI43H4d488njHpuZfL+?= =?iso-8859-1?q?LLgKeRXDDDZttFpbgBJQghMoM0aqEaRRw4t2vIt0Mu9wkDRPFll1zD4mmFFi?= =?iso-8859-1?q?rqTj/gD52QDDGwyYrJMM7GcbWwaRu8vSEArzXjZ4Q598pomALgrVskOcubA+?= =?iso-8859-1?q?j5eI0UPUj6OGJyN7pKxwcaNreLsnic74vrTc6g88ZvT4pZr/TeV4fR9UkQGu?= =?iso-8859-1?q?wx/eqTzw3Ixb28tzOpIIw5rpX3S5BXrL4CcQNNSvn8DyKUMa62dVaVRp5/B6?= =?iso-8859-1?q?Q3GQnLy+0eEzyV9sJclxDYXR21dqQn0Rn+GXDdbcosRoBBW0AOFuvB151Z1G?= =?iso-8859-1?q?ZeCjOH9BGjppn+evk9xOK8+bq1PaRk7jrCbDsJSwNyoFkafjvKksHMIhkkoB?= =?iso-8859-1?q?KRCR6SFCeRrM7a5uM5z6oKCGFNRFh4a3eOBa3mbxnxUiUCpezAHajYtuB/P2?= =?iso-8859-1?q?MdnGmL2lBdYxvAPt/M5HCni2rcVjq2uXz/5yzDE62mIGhxaQAsSTHd/SVEP6?= =?iso-8859-1?q?yWxVH0rh/ZEaq5q/EaQhXVku8w6/rhVCWWSDNTcZf26NQNoeiQSZ3mPksE1U?= =?iso-8859-1?q?LDfElX9PXS9lZrAZpm+AALhE7UdlS57PV2/DK5kUbuLHjAzr3AgMUZW/xKBz?= =?iso-8859-1?q?RJuExteDLVr5yKp+lel/eJ70gNgMFKDTfrMWagp1lmyz+seVcCAlzYuCqYmO?= =?iso-8859-1?q?hAX/bYednFrsEVz+GPO4Nvvc/C6UMdTwZ9NZch1zQvegGnVcOV9cz7/wpcrs?= =?iso-8859-1?q?HGNs5GimhHEHOknnIVmy/8BMSkGGg6c0rpsA00o5ekeEDSPoVjNMgCOFHQmi?= =?iso-8859-1?q?VTJoD9DjzF5rnPUt1kBBwhQ0/HAX1ZfBLi6m9BRxrXk6B6CjsQ8I0DTnkS2x?= =?iso-8859-1?q?e4DamSn7X2N1B0lsow76uurPePYqxsYDzUaunrADMUpI+3aRjIu7yCmP9g2C?= =?iso-8859-1?q?9iqSZOEm98P4dbMNZ14HmpJj/JuocsDJ4s25I2vysbXmLltSx985QYR8jzG/?= =?iso-8859-1?q?jJh+P75xK06g9pUphiRqFVbrcs+NskXNTOXcowwheyUJZMCs6MbIKFbY8cS3?= =?iso-8859-1?q?NrbJNMLTBjPSGNjqvJeAOg7lvKzHBrtA8+diMZOYVq46wmzDqPvGb9P/Z1vf?= =?iso-8859-1?q?K+7vb43dMS+QVqFh3ofAIGjnJpP9LZ6f+uD20kH45PQtH0Dlwd8NY0/MeJsO?= =?iso-8859-1?q?B7hjgjxmnReRU7NT3aoDeD1rr6E0Ye59qvlUjZQ=3D=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: epam.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: GV1PR03MB10456.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 20e60f01-19eb-45c7-a7ff-08dd70bb05fb X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Apr 2025 01:17:51.3584 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b41b72d0-4e9f-4c26-8a69-f949f367c91d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: gG6QQC3pAHoXU74YI2PAH+aXxp7SoU478Ny1RiL4L+4ww0mvZiTuwQ81UqivtU1ZaWQ4TapRktT2FULl2PbHsvgq0/lIQs2oQmix0+dz11c= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR03MB6703 |
Series |
Enable MC/DC support for GCC/GCOV
|
expand
|
On 01.04.2025 03:17, Volodymyr Babchuk wrote: > gcc 14 (with patch "Add condition coverage (MC/DC)") introduced 9th > gcov counter. Also this version can call new merge function > __gcov_merge_ior(), so we need a new stub for it. > > Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com> > Reviewed-by: Jan Beulich <jbeulich@suse.com> Any reason this got re-posted, when it was committed already? Jan
diff --git a/xen/common/coverage/gcc_4_7.c b/xen/common/coverage/gcc_4_7.c index 1c20e35ee5..f4c1802303 100644 --- a/xen/common/coverage/gcc_4_7.c +++ b/xen/common/coverage/gcc_4_7.c @@ -28,8 +28,10 @@ #define GCOV_COUNTERS 10 #elif GCC_VERSION < 100000 #define GCOV_COUNTERS 9 -#else +#elif GCC_VERSION < 140000 #define GCOV_COUNTERS 8 +#else +#define GCOV_COUNTERS 9 #endif #define GCOV_TAG_FUNCTION_LENGTH 3 diff --git a/xen/common/coverage/gcov_base.c b/xen/common/coverage/gcov_base.c index d0c6d0a3f9..742034e039 100644 --- a/xen/common/coverage/gcov_base.c +++ b/xen/common/coverage/gcov_base.c @@ -56,6 +56,11 @@ void __gcov_merge_delta(gcov_type *counters, unsigned int n_counters) /* Unused. */ } +void __gcov_merge_ior(gcov_type *counters, unsigned int n_counters) +{ + /* Unused. */ +} + /* * Local variables: * mode: C