From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2077.outbound.protection.outlook.com [40.107.223.77]) by sourceware.org (Postfix) with ESMTPS id 2E1323858401 for ; Wed, 25 Aug 2021 06:58:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2E1323858401 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AALOjkbxfzS8mrDQkqHX61N7Sv4Bgfm3cruSG/fLAI1H9pnsNdasLORAMfUIpiVt7FqbODUwqVUn06i/lnE+S4sb8hTtmqZctlZZcthgzHjmj+rW7YBRPxK6J1GQg0jdbkcZGIluZUyZJ1Zbo6+YElnfoPAvVVs7YgdP3WS9GD+9Ot1avX0y0uDRqmI8s2lf7b6t9ay441jdQx496c4yEc0N+CqE2UgSbXxZDQunAOFUubfco7iLEVwry5jpu6AXfOjuXrPHFnKpCxeyAy6yMUqryay6+GEbwbyx5JXiS7lJJlOBtETf6lReWIJI5qab3gZpjFd+Q8hkbUR0KB1IhA== 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:X-MS-Exchange-SenderADCheck; bh=TXVloLsYz8icam40NjfkorpUMhRa6H3XNEanJUpw3J4=; b=DPzeuSBKPtoPL9CQcihfoOeQmMXc13IV3rL9M17t5A9TVm8Kb+882vaCZsLdjC9knuQpqjOaDtKvDdVGWDvbekSG99zqz40/LoE8whYB4vuLB5JFyYCWAUf18N4G7zaBeS0uTlMDx2aGs8i9RRTm2BxcPzP3616cVv09ogJVJiHzGodos75OHLHTyn7yJxSAGyrq76dh7LiL5xhT3Ex2Bb+h38WWaS5KFKfaO09so4H/BUhQg0j4qkk+6znLPrwThq64uqcT4esx2blr3iCBNcmposkogqJWQ4AYZHzB4YtRshQ0hw4Vp/D90Au9f3rA80aUsd1to/ipyQltrzFk+Q== 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 CH0PR12MB5171.namprd12.prod.outlook.com (2603:10b6:610:ba::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.17; Wed, 25 Aug 2021 06:58:28 +0000 Received: from CH0PR12MB5265.namprd12.prod.outlook.com ([fe80::7ddf:9823:463c:7cb5]) by CH0PR12MB5265.namprd12.prod.outlook.com ([fe80::7ddf:9823:463c:7cb5%5]) with mapi id 15.20.4436.025; Wed, 25 Aug 2021 06:58:28 +0000 From: "E, Nagajyothi" 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 Thread-Topic: [PING] [PATCH 2/2] Test script modifications to use llvm-dwarfdump when compiler is clang Thread-Index: AdeZfjfhHjzwhSRiStWRuKFY32cXnQ== Date: Wed, 25 Aug 2021 06:58:28 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_88914ebd-7e6c-4e12-a031-a9906be2db14_Enabled=true; MSIP_Label_88914ebd-7e6c-4e12-a031-a9906be2db14_SetDate=2021-08-25T06:58:24Z; MSIP_Label_88914ebd-7e6c-4e12-a031-a9906be2db14_Method=Standard; MSIP_Label_88914ebd-7e6c-4e12-a031-a9906be2db14_Name=AMD Official Use Only-AIP 2.0; MSIP_Label_88914ebd-7e6c-4e12-a031-a9906be2db14_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; MSIP_Label_88914ebd-7e6c-4e12-a031-a9906be2db14_ActionId=1fc1046e-d60b-4896-8a1a-a1665b9852a3; MSIP_Label_88914ebd-7e6c-4e12-a031-a9906be2db14_ContentBits=1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8ccf0986-25f5-4670-bd11-08d96795be1e x-ms-traffictypediagnostic: CH0PR12MB5171: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1169; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: aKHaalNzw0NZBcozUttDuxQlllp11OZcsBWs+Nt5GymUPUDKwC4HPmhkPa9vnpuYU4eVulj+3p0H3M1+gy2PCdCbR6Hw1TgewAe+Mg5G/tbSniLkuTee6wBzegXsxl24BWX0hN8rE2wxTcLX1FFm5dMSeek6Oypasm9jB8zzZFl9LipFqH3R1xcccNm2i/fMCRodZups0cdBimwNZq7HYShJpT/w7FcYvZqyvrhyl8scepMyCX7M1Dzgjm6XUL6xbFF5DMyApIa2PxbuQsKvZU8YMxTc+otQZW+gZ3S9S4JO9w3LYQAc+Eh3D5E0S22XU6V7GQPzvmGpUceW7op3OGJULxmaunCEXK4b4Zc8JkQTJYlOmV2PLH1f13JwK+xOuFeeHKaogkHs+b96psR6idlBzFCgeQdeR/iHae3/9Y3m/PRDmiHh9Ne9sOyz6/VNyvDVWj3kA7diEoyvzZgIzXavDn7y6VquHXREWbMNjm97dsKyD7wxbGMeis51iC+KM+7bjeQA2tXkdAFeg7PDhOCp8RjmizGE37CfcEjkDfb3Bwog+ijJQmxbAqzAO44GL0KUJHEm5cUSmxrVW2eXMM8iKB2etMWJs4GRnOH2Gz2e0ZzbTeWA5B2lUI0U5h9C68FoF4UlcVqKPZ+xaXboXYRFjz9OQwhq9oeNiHkzlAXA4RlnKIgkmpsnfXASHXwEciBdQml4fCIYvdgkdThew7XoajaHrK36Nph0d6UbSjixmBnAUqRPmL/W+DvMIR33hS8xBgwWeb74oTbNLMT86Vvrp+PyspAseEwEKWYdUsA= 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)(346002)(396003)(376002)(136003)(366004)(39860400002)(66476007)(33656002)(4326008)(66446008)(66556008)(64756008)(54906003)(26005)(55016002)(2906002)(186003)(8936002)(83380400001)(478600001)(5660300002)(110136005)(316002)(38100700002)(966005)(6506007)(52536014)(38070700005)(122000001)(86362001)(55236004)(7696005)(9686003)(66946007)(45080400002)(53546011)(71200400001)(8676002)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?kzoLlrQZgYLpyhjFGOX7oUg+jF2mBDXGoPghIPA3KCE3GcOq/ZuPY0dTWCUH?= =?us-ascii?Q?KsGZjurv2rtvbSqf9HJgCNrsA6o1Uvz05gzUfKub1LS6KTFg4HPfn8gkgyp9?= =?us-ascii?Q?tLoYmiroTZrOtCZL93USjvXjRpPkbLux+o8G1sWSDe/Cp+dD3v4NLKBIPwxT?= =?us-ascii?Q?Uo4DnDj8wENyKq0CaO4AF5cUMQqtmG+CkA/ArAod5fGmIsliAJT2JiO5t7Jr?= =?us-ascii?Q?mwKdMtPg+yjxctor2BfvAx/bMUNN1zw56lPLla27KKFj8Q5xGaS9x6FP91mV?= =?us-ascii?Q?wzq/fO845FRUsqupoh7oxlb0N2F0ivEtZjqDbRh63sscn36gxY3YFzbOTDjC?= =?us-ascii?Q?je3Rz9tET/a+okRPg5YUkJ1qGnQ2XyE5pnFu2jhwNbl22/ES5Y9QF+rzeqH2?= =?us-ascii?Q?7RzYB3sawiNIvmGIVOnpiknNQFwPmSVwyn4NfpCME97pR0RzngKu6znbLQiD?= =?us-ascii?Q?BmmiaX7vYqevqAotWJSGMpjMzDUybNCaYzc4tqvE9AoFPI/P/QZkYre9QQyi?= =?us-ascii?Q?89zsnzbaT8RUcIeuL5AnN7lCa1WkeMZx/3SFcwUYAZLKD/1KsVvsFyJmwPa9?= =?us-ascii?Q?v28P08YrhvAVN2tgI8OQNUbi8RNDicQa7nNOAjY8FMb8gdfOt36NQ214swqG?= =?us-ascii?Q?OAhq87qxzg8TYi/90NduXz8b7o+P7fu6qcPidjnXGo+PAU8g4f2RcbjylCV6?= =?us-ascii?Q?8+V1IaWz/zT2bKTy4Y2UZ6ckKxVSe3CTlvzWXelSQxlYZMGkRTBkgbPc5siD?= =?us-ascii?Q?CZGfFaRRZGFOy63h7u/or8Yi+EmYf280ZUuTLd3juw/yGua+l4OZM2Ay94OH?= =?us-ascii?Q?2U00GZE1z/u/Os5w/kWtDcE2nbNj9EXQgLffLnfwgKcW0RsGCpjVtPoRZkj8?= =?us-ascii?Q?INoVWq/fSqBvBlOnMD1wDGiU+CTf64sxOcUZEijSxavUFNUh61KncVBL2EbC?= =?us-ascii?Q?w6JLTNBL4B25mOMmX4DdCNAGmSQSAA0Yv7twRY2ZKnZEAST2cM9bT8Qz+6Z8?= =?us-ascii?Q?J0RoZd68Nt9br5Qzhnm+L1kSu+PUqXVEeUD6bbVBFXSvLEEOKSUkv+PzTb6V?= =?us-ascii?Q?sIwt2Wqf8z0w7seWTHtl1EF7j6bpvDk6h08g3VsC17YjYEdbcrQiWYHlVGCO?= =?us-ascii?Q?0LAaQcUetPVhO190hBM7RbAoU7LFwqgovbX9Jo1oIhl3mFjBSFabItWVO6Uv?= =?us-ascii?Q?noOCNsj+zO6SulROW+wp7KOEWDnBInoMVsVUjNNRuMTdveCS4/sQr4IE+kxX?= =?us-ascii?Q?0+0gnFVedWz5M8LvExzRoFB3eNaU2KW5E9889qeCmHfQeJ+D70k7AuKcXDOb?= =?us-ascii?Q?99KmUarZz3FT5EqLXd/25zGx?= 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: 8ccf0986-25f5-4670-bd11-08d96795be1e X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Aug 2021 06:58:28.5695 (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: kftiykRpvmJJWeTGEo/94ibwBUb7cuVwz0400xTGZ1tsA+OMgRfiW3rPLFncq4ra9ED0t7nHRYK+8WUJ6KQp0g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5171 X-Spam-Status: No, score=-1.9 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: Wed, 25 Aug 2021 06:58:41 -0000 [AMD Official Use Only] Ping 5... gentle reminder to review the patches. Thanks, Nagajyothi -----Original Message----- From: E, Nagajyothi =20 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