From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2078.outbound.protection.outlook.com [40.107.244.78]) by sourceware.org (Postfix) with ESMTPS id C887F3858D3C for ; Mon, 20 Sep 2021 18:46:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C887F3858D3C ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g4I6jMGSYj9r+KwypFIjLvDlc8jGVIHJndOt15ebyJKata8ZMcD4sCSDZWfNkCCzOjCvoawbiN9YyWx35J0ZaoR4G7qS9Vr38UNYATOpLFJzSZ+y7lipsTrqdq8UUIYNPTtojAGr6xa2CYYVrqZfZknoF0x5GQWSveJxPmcPWQKYsAgNL7mwjOb6sUMnNlVjBwmVH8vUqpaohP01cXahZqgW7PuDf6XZWsy6Babsdq/3QnzwEv9cdQd+mM0NdPQ3/2M0FYLdgqEYGiGaNM5cPgrS+ityhN6oRZnCiLICCEwCgWSJJt985IIh/7CgIgv/iyhHPRkL5E+TVI9srv1N8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=cTJUOh0SZIJznEqy8bwNuqRcq7DfsCs/en7V9kEfkiI=; b=Cq9XNZDEkPvD9ROSmG/vU1Hw9Fb8LePUOgFGArBSURi0ovUuXeg0K+wdC+TYNbTCR0zw3ks3IjKIaFap8tIlaOrA2C2ST5miPzXwz77sFlZvJqk8ES9pEbluIc2nETS7CwzB07smJ4zPVJWOm04tzXH1cvhoz3OUvUqripexXTGxt8kkQWovQKeHEUXFsnlsNYWOc47JzSGGfloomqNMBR1h6aEr0qwD21mR2z6Vlr0L673Ii4AlGwna2sht4e7mSRvyG1aJTd7SLq40Mp3htJ0kxTML4/sorUYatcRMtBEghrAInM9fQBpo4goUbuksabJxpdQrwTXf2XT2/hgLfQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none Received: from CH0PR12MB5265.namprd12.prod.outlook.com (2603:10b6:610:d0::22) by CH0PR12MB5235.namprd12.prod.outlook.com (2603:10b6:610:d2::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14; Mon, 20 Sep 2021 18:46:49 +0000 Received: from CH0PR12MB5265.namprd12.prod.outlook.com ([fe80::f542:a9c5:f7c2:942]) by CH0PR12MB5265.namprd12.prod.outlook.com ([fe80::f542:a9c5:f7c2:942%6]) with mapi id 15.20.4523.018; Mon, 20 Sep 2021 18:46:49 +0000 From: "E, Nagajyothi" To: Mark Wielaard , "dwz@sourceware.org" , "vries@gcc.gnu.org" CC: "George, Jini Susan" , "Achra, Nitika" , "Sharma, Alok Kumar" , "Joseph, Ancel" , "E, Nagajyothi" Subject: [PING 7] [PATCH 2/2] Test script modifications to use llvm-dwarfdump when compiler is clang Thread-Topic: [PING 7] [PATCH 2/2] Test script modifications to use llvm-dwarfdump when compiler is clang Thread-Index: AdeuT4s+3Lm33cHwTmidZ5+L6FxWwQ== Date: Mon, 20 Sep 2021 18:46:48 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_Enabled=true; MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_SetDate=2021-09-20T18:46:43Z; MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_Method=Privileged; MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_Name=Public-AIP 2.0; MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_ActionId=ec703905-6ca1-4f08-9a9b-63273c66c8ae; MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_ContentBits=1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7f994ec5-ae36-44ea-d303-08d97c670163 x-ms-traffictypediagnostic: CH0PR12MB5235: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1079; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KuiJ3pF+uRea2kJM1aakzpo96bL6PjoymFBzW3vK7D/y/IidIS87Cg/kiBnhkJ9Nfk+QUU+hd2gyjYWwwUXMqyT7VA/iHypALVHsINAy29QRWfkyp3LTzpmkWbq2G/KCwXgGmFo+9juzRBqJXj3W9k5QHJnQUHSJgbMx1kVKKEhlCQ83ofLh6r9cLKTXVW2tYzl7YkqvNSYh7MW1YjbbEWccvIHSuKzVis2j5AekD1PMdkD+Ww49d44aKU3rQtsfkIaI13SFW61sF97xJcZHeRQN0lSTvP9A6wQKCtMOBJeuw332sZX9eTbfOWyULjWWq9ITc+UMUyRs0DOrPNCAynYHDoaZ1auQAZG93PZJkyJRT9kHMZne+PlhbpTms77dnEP881jprx4xG55mUuJopXDyjx5O5E7R9Mgd2jUv2Yo7HxNuHn2yug2WANRmVT4Oh1UtJGzdSPax04vARpD83b0fD0BaqhG5gESqOXOsGc4OBqj0OdLKQyYFCc4i2atusv07szq+6gYEH/Zz4ALxK//TsuwK3yQEDQJkO6yXoG58Nv76qmI/0cczT1smsp3WNtmTQAOKc2q8LsOOTYQOQOol4f9PQ6g2F7/Y0mJNDRkTYiD491U/90afSwD4F02eG8d+r+fNSYkIIZIOPC/lOZa8i+Jr1fOitXWU5T+t0aYfXODANJrGJ/mJdMkTiA7jyJM9e4XzqUCmbENwGGr3aqg/T1gWUMSoLJa89PyDL2uW6QktxMaeWl3nJIS/lTjl7Rd5tqe4ZTnE8xta8yLNzY6ucn+ThlsRh1p9wJW4g2w= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH0PR12MB5265.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(396003)(39860400002)(376002)(136003)(346002)(4326008)(38100700002)(122000001)(76116006)(66476007)(71200400001)(2906002)(66556008)(110136005)(966005)(316002)(8676002)(478600001)(7696005)(5660300002)(53546011)(186003)(6506007)(54906003)(38070700005)(83380400001)(26005)(33656002)(55236004)(45080400002)(64756008)(55016002)(9686003)(8936002)(86362001)(66446008)(66946007)(52536014); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?2MEp87vANSFYd25tG8Oq5JGLD3m8C4jYZeqwnzvVy4v6XEcdavF/ZvJd20k0?= =?us-ascii?Q?NmNmJk8cEHFZm4vqS11ShcZF1lQoAKcCUQF+SzGp7GZm+r1630Qq547LB0rv?= =?us-ascii?Q?MbIkrU0deiGD5VIBIbuOLaZaSSWv+1aDW/ttPzIXEFeAlye6gTCpbdIyM1U1?= =?us-ascii?Q?Hs5E5X4mSTqEds0nhm0RNQCXbtQFGrHRjBK/HdOvReXXAhDNqJDc5k8RDcSL?= =?us-ascii?Q?KVtEFJnRizbySpc4/w5KoNgT+W+Jf11MHFVI1UPWNCLAk87LJ7FcYk3Jxdkf?= =?us-ascii?Q?AzdBjgdYT2n4LhmO3ufZzCy1VUCWPxJ+tNwvxmLWixfkefv7OTeL3XndHQJT?= =?us-ascii?Q?/x7weMkPicep3ynVQF7LLayN9D53izisvnjrRkFO/n3YC4eqK5mpz/ypV75e?= =?us-ascii?Q?nNtnpjd/SiHzm2nuo9IdUVixP9iNe/Q9j7kj3cKdnh+iaVmtx/rXqqAhk9Z2?= =?us-ascii?Q?aFklC5N8ZCIroyPzd60OEhAoAN7nFxCj1vZg1u7PnwMLbOY0qA/Wjqr0mI8b?= =?us-ascii?Q?/2PwlOEuEIukWgbPu6q4bMwVy50CztoWqYGqu5I6/kAHgsDaH3ftI753nChd?= =?us-ascii?Q?Cz79yLdRzErEe5FnbWkaQyGhuGwDV44NKwbUB3mKvgQ0lKcvlAys+fgfF+vp?= =?us-ascii?Q?LE0i5n2jmRkdzheV7uiatA5tkxo9/iBhF9wp6ReYUjQZBzIIXpMCMm/N4SXO?= =?us-ascii?Q?8bSvf3JkkDc0AQcnKsgkaSl5ypacgg/gAGMHFbdXtVziXj0Lww3ks6UeJmDP?= =?us-ascii?Q?+Tlme4+5vo5lNDroPfZhYXBNyS23PSXm3NxUiL/yNl2yus6QwYjStCAVY6Dh?= =?us-ascii?Q?gmPGjJiNR1yJ8hHH2/vxnoOBErIVudfSF3F+mjB7RtnVr1ui0atX66IXfa+i?= =?us-ascii?Q?FfZmCib4W9kRHFE482kgdFQzI7Gdb0dPUmN8S0iWFG4bpRSsShHCkfQFDxxJ?= =?us-ascii?Q?FjnlkdMSrCUtMoIO/IVqMDch+NhGcMDuDGF/26Z46a5pgLYmtqzijNEFr50f?= =?us-ascii?Q?uYsYRKELHgXgY86mfkK7PNnLa2kNXkGEuDswqT9QB0iyDU4japHzzClL30fA?= =?us-ascii?Q?1d+Ht2c1PeFgdKp8A6AUxdTxnTiG3EdFLIOPvzjGlEbalR2unaty5W87y9bN?= =?us-ascii?Q?0ltZ37ILQRqFM/Il33y17Uv2lxx7MIdZ9hhaLw2D8NL1KwKxH9I/BoN2iayG?= =?us-ascii?Q?1tWCE8NMIMGYaNmAzgymCS2SLRYIiqaM7YzTmJcjiu8Aqxo0XKoQmTKKU1DC?= =?us-ascii?Q?NfBWf+nAHeMk3ve1mADYOljvkMyyGEpcuGe7pB6U5hwtv6qP7FSSicR3JSnv?= =?us-ascii?Q?eZ03CGCr7BBRvWFC9DATAlIq?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH0PR12MB5265.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7f994ec5-ae36-44ea-d303-08d97c670163 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Sep 2021 18:46:48.9371 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: h18s/e0PVghxelMX+Y9yR2oXq7rE+0ZavjtNZA4iDvxA5a31y2SDjwL23HueDLEfJIpKgzTQ+/YtYPCn08BKWw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5235 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: dwz@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dwz mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2021 18:46:54 -0000 [Public] Ping 7... request someone to please review the two patches and give comment= s. Thanks, Nagajyothi -----Original Message----- From: E, Nagajyothi =20 Sent: Monday, September 6, 2021 1:07 PM To: Mark Wielaard ; dwz@sourceware.org; vries@gcc.gnu.org Cc: George, Jini Susan ; Achra, Nitika ; Sharma, Alok Kumar ; E, Nagajyothi = Subject: [PING] [PATCH 2/2] Test script modifications to use llvm-dwarfdump= when compiler is clang [Public] Ping 6... Please review the patches and give your comments. Thanks, Nagajyothi -----Original Message----- From: E, Nagajyothi Sent: Wednesday, August 25, 2021 12:28 PM To: Mark Wielaard ; dwz@sourceware.org; vries@gcc.gnu.org Cc: George, Jini Susan ; Achra, Nitika ; Sharma, Alok Kumar ; E, Nagajyothi = Subject: [PING] [PATCH 2/2] Test script modifications to use llvm-dwarfdump= when compiler is clang [AMD Official Use Only] Ping 5... gentle reminder to review the patches. Thanks, Nagajyothi -----Original Message----- From: E, Nagajyothi Sent: Sunday, July 25, 2021 11:05 PM To: Mark Wielaard ; dwz@sourceware.org; vries@gcc.gnu.org Cc: George, Jini Susan ; Achra, Nitika ; Sharma, Alok Kumar ; E, Nagajyothi = Subject: RE: [PATCH 2/2] Test script modifications to use llvm-dwarfdump wh= en compiler is clang [AMD Public Use] Ping 4... has anyone looked at these patches? Request someone to please review the two patches and give comments. Thanks, Nagajyothi -----Original Message----- From: E, Nagajyothi Sent: Tuesday, July 13, 2021 9:27 AM To: Mark Wielaard ; dwz@sourceware.org Cc: George, Jini Susan ; Achra, Nitika ; Sharma, Alok Kumar ; E, Nagajyothi = Subject: RE: [PATCH 2/2] Test script modifications to use llvm-dwarfdump wh= en compiler is clang [AMD Official Use Only - Internal Distribution Only] Ping 3... any comments on these patches? If any explanation/clarification is required, I would be glad to provide it= . Please let me know. Thanks, Nagajyothi -----Original Message----- From: E, Nagajyothi Sent: Thursday, June 3, 2021 10:27 PM To: Mark Wielaard ; dwz@sourceware.org Cc: George, Jini Susan ; Achra, Nitika ; Sharma, Alok Kumar ; Parasuraman, H= ariharan ; E, Nagajyothi Subject: RE: [PATCH 2/2] Test script modifications to use llvm-dwarfdump wh= en compiler is clang [AMD Official Use Only - Internal Distribution Only] Ping 2... gentle reminder for review. Thanks, Nagajyothi -----Original Message----- From: E, Nagajyothi Sent: Monday, May 24, 2021 5:48 PM To: Mark Wielaard ; dwz@sourceware.org Cc: George, Jini Susan ; Achra, Nitika ; Sharma, Alok Kumar ; Parasuraman, H= ariharan ; E, Nagajyothi Subject: RE: [PATCH 2/2] Test script modifications to use llvm-dwarfdump wh= en compiler is clang [AMD Official Use Only - Internal Distribution Only] Hi, Does anyone have any comments on these patches? A gentle reminder for revie= w. Thanks, Nagajyothi -----Original Message----- From: E, Nagajyothi Sent: Sunday, May 16, 2021 5:06 PM To: Mark Wielaard ; dwz@sourceware.org Cc: George, Jini Susan ; Achra, Nitika ; Sharma, Alok Kumar ; Parasuraman, H= ariharan ; E, Nagajyothi Subject: [PATCH 2/2] Test script modifications to use llvm-dwarfdump when c= ompiler is clang [AMD Official Use Only - Internal Distribution Only] Hi, This testsuite patch may be used while running make check CC=3D"clang -gdwarf-5" CXX=3D"clang++ -gdwarf-5" to avoid test failures due to readelf. This checks if $CC/$CXX is clang/clang++ and uses llvm-dwarfdump in place o= f readelf in the test scripts. This is needed as readelf produces errors/wa= rnings with clang-generated DWARF5 sections/forms, causing many test failur= es. The latest llvm-dwarfdump (27 April, 2021) is to be used, which has a f= ix in printing headers of DW_UT_partial type. Thanks, Nagajyothi -----Original Message----- From: Mark Wielaard Sent: Thursday, February 18, 2021 8:15 PM To: E, Nagajyothi ; dwz@sourceware.org Cc: George, Jini Susan ; Achra, Nitika ; Sharma, Alok Kumar Subject: Re: Plan to contribute for supporting split dwarf (-gsplit-dwarf) = in dwz [CAUTION: External Email] Hi Nagajyothi, On Wed, 2021-02-17 at 05:53 +0000, E, Nagajyothi via Dwz wrote: > I am working on adding support for the dwarf5 .debug_str_offsets,=20 > .debug_addr sections and the related forms DW_FORM_strx[1234], DW_FORM_ad= drx[1234]. > Please let me know if anyone has already started work on these. Thanks, I don't believe anybody is working on this right now. There is already a bug for .debug_addr/DW_FORM_addrx[1234] support: https://nam11.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fsourcew= are.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D27375&data=3D04%7C01%7CNagajyo= thi.E%40amd.com%7C37c0fb4399464264b01808d8d41bcb9c%7C3dd8961fe4884e608e11a8= 2d994e183d%7C0%7C0%7C637492563147320988%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4= wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3D= 7AjB%2BXKo9J5gTlW1CeEhHXZykYKB2vFZ%2BTnBQvW4%2BIA%3D&reserved=3D0 I think this shouldn't be too hard. Any DIE that references an address cann= ot be moved to an alt file, so simply mark it with die_no_multifile. We do = try to optimize DW_AT_low/high_pc attribute pairs, so double check that doe= sn't interfere with DW_FORM_addrx[1234] processing. Also note that there are two new location operations DW_OP_addrx and DW_OP_= constx that can reference the .debug_addr section index. As a followup you could try optimizing things, but then you need to keep tr= ack of all the addresses used and see if there are duplicates that could be= turned into a (smaller) DW_FORM_addrx[1234] index. But I would keep that s= eparate from the initial implementation. For .debug_str_offset/DW_FORM_strx[1234] I opened a new bug. https://nam11.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fsourcew= are.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D27434&data=3D04%7C01%7CNagajyo= thi.E%40amd.com%7C37c0fb4399464264b01808d8d41bcb9c%7C3dd8961fe4884e608e11a8= 2d994e183d%7C0%7C0%7C637492563147330979%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4= wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3D= AqQRLjgKh9h7YHPIr4wDiqP1rRTXz2kG6IZlAT0SaSQ%3D&reserved=3D0 This is a little trickier than DW_FORM_addrx[1234] since such DIEs using DW= _FORM_strx may be moved to a multifile. You also probably want to make them= equal to DW_FORM_strp entries pointing (indirectly) to the same string. You might want to add a note to the the bugs that you are working on them. Thanks, Mark