Message ID | 20240227190435.35750-2-cupertino.miranda@oracle.com |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2906957dyb; Tue, 27 Feb 2024 11:05:51 -0800 (PST) X-Forwarded-Encrypted: i=4; AJvYcCXCyhP5lSd4BJJAHK6Mk9umK18HsHGJBrAgIx+10DyC2LrZ+rQTD8dNj36cgLUuRZyKUfUZXiD5L7j3dw0E/yz08Spnkw== X-Google-Smtp-Source: AGHT+IFd4KvqPnMbrJwwfKWdMVLPw7RZbUFnoNTff2Chap2M0PPFtscZ7Ol4pTm3oyjar+a2zPoR X-Received: by 2002:a05:6358:6f0c:b0:17b:bd57:c007 with SMTP id r12-20020a0563586f0c00b0017bbd57c007mr2350897rwn.23.1709060751606; Tue, 27 Feb 2024 11:05:51 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1709060751; cv=pass; d=google.com; s=arc-20160816; b=J+97UtC2qCHYe3arhkNbUbO/0QQshJaUZNQzqjommHXqzPMakc9h9Rsww0p8hxF6uI jkkjnMncaPh7JSumUmNWHZqq0WtppcZUz4ZuKYgQeBPsm7/ri3Seram/a3f23kvDbs+n 5QmaH8mwEb/o1PeblfoHmklZS6U/XQ1smHBgh193lvGEQI+QJwomWUtaFWHrDTITOhak vPYbTzFrNr7GPVyQVbmoXsAtB+2GnVNkpYu3wUWnOt+263Up3dPMaTjEJmlHurnKjbF4 3UhLhKSH+DAF6LI8xX+A/1zMTBTEV9CF3A5RYGxC6FbMdtdwJOhRCH4WZzHxM/Lg9+Fa YCtg== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-signature:arc-filter :dmarc-filter:delivered-to; bh=rGQVMP7zTU2YGgCyfYfr1coJ05uSceReMAWfueqCudE=; fh=YuH9wRV+9vy10yVS+SCC7bJ01lPvlCd9G+SBbPSep9c=; b=fJfMT0wJwyvRQYPJY/J4aEB5gea2AVm3qdrE/64l9wGshbI9cs22tuMhokBljNmSGB 0n7aG7CoPdCCH3gUD+qU6juyGxrU7ZGZcitPIHyM9d4+cLdh+HoBv4rH7KigJ9+OXvUz PaYCOO8antUIZ4w3MBFZ3YsWojfQ49H5weK11NB1CrUsPtQFpPHuYLeS+SLFbH9TxFgU 54N7U1bU6Y5NxKegMTon8MQrW/Cf2jzyBbRJtdDBk6e4Uu/G9f8wvBv7HxdqI7nzKBX7 T4yu6Up1U6EG0TfEw9OogSydj6xN1Ax1ZYVs566eIBexbfLZmBazt5DN60TjhiMMzrE1 mcPg==; dara=google.com ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=G6QBW7E1; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=kzmgtJQn; arc=pass (i=2); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id kk6-20020a056214508600b0068f5577223esi7891473qvb.73.2024.02.27.11.05.51 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 11:05:51 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=G6QBW7E1; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=kzmgtJQn; arc=pass (i=2); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 470EE3858291 for <ouuuleilei@gmail.com>; Tue, 27 Feb 2024 19:05:51 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by sourceware.org (Postfix) with ESMTPS id C76493858D33 for <gcc-patches@gcc.gnu.org>; Tue, 27 Feb 2024 19:04:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C76493858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=oracle.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=oracle.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C76493858D33 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=205.220.177.32 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709060691; cv=pass; b=kPaBR11xYMz8G4k3S+wtTmG8Xo7NDhcUCtfFoN4RKT+hxEYvQaKycV4MLKO6FfUt9akni7QHq07QR9+bMWmioxbHrQ7lU6S0mL5/XAbTGBl9dcXTxcltYK48B1p5Vq2fFOaTFPAdE+zqyjKTeGcMTpyANlVOo2mLKLxW3ON6eT8= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709060691; c=relaxed/simple; bh=xGxzBogL1Jw16ROtO27MYD0teoiV1ajx3a9kdKclF+g=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-Id: MIME-Version; b=M1iei4/AZ58/mC5iepW3GMlY0JkjpT8mBSW3sB/bq+QZ0gg+S25CU52gYDFsX07S/OX6/T8kJ8/YFkZbudY/dSz5E05nbqm2xgK3Q0r0Zs5qjv4LZ8Y23MKAdJBgHfROZfooaE2tj5N4gqt5MJGkeHwIH5Q8Sh3JCQwAAa6OyBA= ARC-Authentication-Results: i=2; server2.sourceware.org Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 41RFXsWa022489 for <gcc-patches@gcc.gnu.org>; Tue, 27 Feb 2024 19:04:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2023-11-20; bh=rGQVMP7zTU2YGgCyfYfr1coJ05uSceReMAWfueqCudE=; b=G6QBW7E1tXDPIdscvQTAY8NQcBo+/M7M9Ne5sinwhzrPHIxUIJ8j+pBSfeFF/SLYWeCv nIEPrAB0QjMBDQ1bCYmwmdXow54ipub00kiTHrYfbr2jqFmUJa/61VIo2VMQR5UEHSO0 8GE2L10ovolkSYanFAGAafH1lNphxagZJaJgClRoOUD+lst+eUVzD1Ez6B3X9PG1yEdj xKBw3lmLGE6FkS168E5Lhlv5lBrypkuTqcOR+WlZ2YVFw9evdOjwd7ltn+MsdCxRLbXa W4ivxgeMFT6IeyRhQHdltN6bIa3T4NQP1YBCSyrDaVJtfxo/Na9tZxmz+8RnHUbrQsYy PA== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3wf784g9tq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <gcc-patches@gcc.gnu.org>; Tue, 27 Feb 2024 19:04:49 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 41RHn94Z025680 for <gcc-patches@gcc.gnu.org>; Tue, 27 Feb 2024 19:04:48 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2100.outbound.protection.outlook.com [104.47.55.100]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3wf6we6pn3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <gcc-patches@gcc.gnu.org>; Tue, 27 Feb 2024 19:04:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m6mcicvC3jR5LpxtFkhRD54J/+h4x1ZhB2nEnA4nkM9Gal1YBac/fhKWxY222G9JtA5C/5PY0w+eE3xgYKG8qKtAU7DRnbMygLsTG/0yJvZNg/kDZMoFfkqCPV9bbRJuX7BOYaUoH4rJGz+GUvDVFcQvhThi2qg3Rqx0eF6lRDALo1D8Dg1MNIQIoApY0Y2GgoeiOKrbvcuDKq1v8+AnRMvhIkdEONoGjI7tHG7XJz3fkhpqzHOWyIRUps1jLSN8ypo6Lk2k9k+azzS+NCOYXT1l1wkhhzxViD5/MKYO66Nf/7h/LOPe8Bf56BY1LAq77BMKQ/NX2+RI7xKoA9SsVg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rGQVMP7zTU2YGgCyfYfr1coJ05uSceReMAWfueqCudE=; b=licF90Ee0Mqvhpk/1hf2d+aQO1iamsxtxEnPBPuAjUkXCl0d0xotYtH+58pPgkqLhtY8SA8uf/+djQExxmeoA7n1ETDKmNJV0O7hwvufeyd35qEAWAU9GEuop/p86GL8e0RzkAjMHP8KgpKMPhCQVvrvfRnliAsfmXKtz8B7dICGaNB2HJQTKicWnEuogOoFUIgnb8F58HqUNvcIZtao8sdpH3fAm4AbTwxQkW9mobmBf1UXsw0fe+1OrxeOpXVWaBtvHFz3M1+vtGz0tnqncVfb04L9fc6Xg3r7YvY8CWdbnUaq4KF47stKe+pU9exCDbfUF3AE0+YiiK/tAGutiA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rGQVMP7zTU2YGgCyfYfr1coJ05uSceReMAWfueqCudE=; b=kzmgtJQnjYxQAzgqWulANsrXXGUXWnDE0jnItfoxV0yCXt6MBu4Q2ncj1JwuP3lugroithtAyCsu9749I96U7QHNp/WjQnQl9HSUFkVciUcwewlYF6ioJWFw+5BqdyvoI6ChJSkLz3/7rzAgzXUQC06XhFUo9ewqcI5ikm28QsA= Received: from MN2PR10MB4382.namprd10.prod.outlook.com (2603:10b6:208:1d7::13) by PH7PR10MB6625.namprd10.prod.outlook.com (2603:10b6:510:208::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.39; Tue, 27 Feb 2024 19:04:44 +0000 Received: from MN2PR10MB4382.namprd10.prod.outlook.com ([fe80::8aee:c094:84e2:9401]) by MN2PR10MB4382.namprd10.prod.outlook.com ([fe80::8aee:c094:84e2:9401%4]) with mapi id 15.20.7316.037; Tue, 27 Feb 2024 19:04:44 +0000 From: Cupertino Miranda <cupertino.miranda@oracle.com> To: gcc-patches@gcc.gnu.org Cc: jose.marchesi@oracle.com, david.faust@oracle.com, elena.zannoni@oracle.com, indu.bhagat@oracle.com, Cupertino Miranda <cupertino.miranda@oracle.com> Subject: [PATCH v2 1/5] btf: fixed type id in BTF_KIND_FUNC struct data. Date: Tue, 27 Feb 2024 19:04:31 +0000 Message-Id: <20240227190435.35750-2-cupertino.miranda@oracle.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240227190435.35750-1-cupertino.miranda@oracle.com> References: <20240227190435.35750-1-cupertino.miranda@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: LO4P265CA0062.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2af::18) To MN2PR10MB4382.namprd10.prod.outlook.com (2603:10b6:208:1d7::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN2PR10MB4382:EE_|PH7PR10MB6625:EE_ X-MS-Office365-Filtering-Correlation-Id: 66238b32-6e9d-42cd-e37f-08dc37c6f59b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +zNy25/muMXSTT7tO4snZVv/69vnJd7YCm9blF1dteW/RPHGUKOtBcBSJB5Q1n79z3huH6PNzr+W5a4oeB8t7UifHbHt0rwQrjtgCisFWXT6Acpl06m0ciO59CnlTW0sR1E/L7P1eAtTxji1zpaVkuaD4EqS71/4rv3Awebg4KX5HUUjDWB7wkAvYkaJ0QAPyds7AybAIXSap/oB4AXvIzVtGu+PfKF66hcbhhk8x7vhuNmH51KQSD5ImY2WQNCQqLwsSganBgZ1eovc3Cc0tsklId2T07y7j8KTHb8A5TRnQkyFhYkqY33k88F1d+FtLKGWIBju0KOfd8RLV818RmORBSWqjezZyJXxr6adbWW4FRXt7R4HNO97NIuRY62Zl+f9dL/XgUpJOkL4km+z9t0qh9w8z+ZDj/8uhQWFBhPwzTFraA97zlc2SPWssiqfACNbgUJ79vnu7DCmBz/JKN0sOKlU7mSSdihpBXv34A1fp+A7k55JYK6AOwP86iECsLt0jn00KQZumzAjL7/G2zqtlBxbjDgO0sh7M3VfCysK7dnKD/rcHgrTzs8XrijVoe3NOhkkVCAHfdnmBzojF8d2J6OHuz+FAph/+5AMcMFgOWd++lAR5fsiob/MG7IDmMSa2Y/9xs7f7LKJOQTI6A== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR10MB4382.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: maVXPH1xKijYPQkbBx8Cxl6Avyg6Njizfn6PqJ5+5rCA0046Amvwv3swqfxtfRYCuA00hOXRqBPbZ+/RSpg0twF2d277YPQXUaT6MXqjAAzvDN/T/jGDd89IDXBIXBZQTiHo99ItwtKfO7WWPNPPziQdIF/qiws6vd2QGr4C+0WO0P2GmguFQdhp5Yx5wgFgYQdfiXMTOlxyf5HDB7WfU9Sl4Z9vhuFkQXRzBRk0Gh5iIiuTVjIANq9zfBjEy7PFDhFjFsb/7okBc0o7HTyWsVNehoDwp9WbJCqjkOmGKjXqa1GqO7KdowLdi+jxXFMoNgt1pOV8LZuA4ArNBxOVZPKgZ6yrZCNkvIN9ypm3sJrIx354pCvnWXW72Zw3TLHOfgGJX7tRPdI5WGbu4uR/YL5wGiqVb7Yaltrnczy/EONKuo6gZArZMr0WBjd9DA8uIsVcuqKSVNlgy7FLAyieFI/+F6wGCyh3d871TpbRUQx7kWZvOAqw3On8sYnZDPYcNVPXT/anTaO6I94aUR+DgyXzv19snNU3+zhksK2ftYf2I/+UObxbLhchc8apML6ubrkq8MaTGmAa346spoSjgRXE6S9ANZpB5JfcQCO2nBnU8rH9SLjvnxOvjLVz5fDL3qmQ9pi9KVhVxwvlhPpVCRhl55FDLlRmA6PPCr185gSaQ/DITEndj2KPjkksKni+4G1MLzyis/unuG18+J2q9+xUtnC3pwLyj8Y+pxHzGBdfS94rxDhp/EJ2z7pct917ggycuHGwfAbw9phYWK/MHKcx4RPSYlyyNsmAtBMTEzGhkQDOsaWpMZjXbTrO1bFMZxiaYfXnvXMhNzdSIo/ljvG4/9xuxsVXoBBOSco1Q5z+hWgcUxLHjdgjy5iJt3hsaNX2TADxLkYBvJG9x5ty2iYssNOGOVJHbirgLroNMFFwkJ8Lib6gYdLH4eyGHTXvZ1j9hj5GJDcDlYBMhnAAT2DsC5UFFn5N/0mKeJNQeRSgB6x9dL7N3VjnbxchYKcn6+tZ6kceT4knTdKAo1v3PfxYYqnifGvvQ67QVrk5+3AATwOaxVt7+K07fQ8seRdLhaM/pjrDRT12lHce2kZuSsJubeA/MAojDdO93dfk+n+FOfLEF/ZMltSuLjimoDSXH5Tirso9WfZty6dpBo3eCBZo9WHndhlwcg+OJ7vwdWBUTY1+Fh9jPHJhE0sW2KRdaRDHFEGadjwLbF0PEAnvZMyBBhsdHONsuvlnkx0p+NlgTr2/qmG2sumZnfX6MJ6PNRXJCqPUW6JP0wrU4IKcp+DpW4oWfG9s8yCNb6U4pKMF8kGrRyQgnGWu1jjVATLMmTYg8eS40zF4yCrwOpNsHV84MaPsdmQ1Z4I+LoptMWElS6YxIBbpbgznFSESyMnExWhNxJ8z23vCF9eqal6Wot5jQiCh+YsR9ZgHbsVYieYO9B6eqQs3CvBnppnqm6MscNeAvPEklcMCZtQRaZAoLS7lGHXSQAKjlnLmsPy2HIRMxVSlLoIdmUJsi8JXhOPtkQeHinx7sVJpGrHd8gCSBQfJWLSbN+h/lN1Ba3/fkrR6RTQKc3IOIhlXqVhSWIBlSYyC45fjnx7YLTyP0oCOWWPVq9ydM4d49Z1c1g5oCSI= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: h+TiEF2O6zNpwSlTEGVxVOxEjM9QjzkgFI/oP2agQFc9eCGoAipwuYRRV0MTYDOUyWEwM9xs79DzVxiRbRgqzLjlaOdhgvo19iy3pfPX3MDppGe3h0jmXeHpEq8Raq6nRxaEU81sBwJ5aH/R1eOe5rNEXlaBTuC2qcAFg/bMm2LT9c2IsUeoMfjmkTvoqK9eCtRVN42SoT8MbOSWjfmoFtg+e2hGmDjO3dqheMnjM4sQoe+TA3fnUcZSWczNAdy5giyiJlSG0pruatwKXVc5CqzCrlGiQGbWH5B1QPoMBscmo4LALYgRdciwy0ncX4673wX5qC5tzLIVOLINtXtg3bH5uO7iS1eI79LpzUWPLtIpX2AWWM2RVY/+jylrgsC1du4n46YTPEZJjV5Ni2v8Xz3Itru3OKTn4zB/1fa69700pDCeHF3S6GZEUKAv0KS21NREGyGUAQtoWuPOenUKFbffgO3m2fxyYHvdGi73dOyYxVDV6bMBi6yPpmesgU4MzM+/ndwCYILJrs8HayUi97MeWzE+flFuM3b5LTXCQg7/aYh++Oi/iNoRj8gzQ8X/PCCE/rHSkfxqZ5RSIElPzapPZg7XqSzwWNAz8VtC+jU= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 66238b32-6e9d-42cd-e37f-08dc37c6f59b X-MS-Exchange-CrossTenant-AuthSource: MN2PR10MB4382.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2024 19:04:44.5076 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: T+uMX3L45qz+Sdp4ArJcrGXjN1oW01vuwlS9kSAI+3tngeDGoewu59so9Hztt3RH/RZoFcOGRo1m5/+zaa6ohZyu5HyulOVYzZFxgEHbWNk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR10MB6625 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-27_06,2024-02-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 phishscore=0 adultscore=0 mlxlogscore=999 malwarescore=0 spamscore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2402270148 X-Proofpoint-GUID: lU9sH-N9BeKTR8qZueW4SVLbibFRNRje X-Proofpoint-ORIG-GUID: lU9sH-N9BeKTR8qZueW4SVLbibFRNRje X-Spam-Status: No, score=-12.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE 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+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792080086477565456 X-GMAIL-MSGID: 1792080086477565456 |
Series |
[v2,1/5] btf: fixed type id in BTF_KIND_FUNC struct data.
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
Cupertino Miranda
Feb. 27, 2024, 7:04 p.m. UTC
This patch correct the aditition of +1 on the type id, which originally was done in the wrong location and leaded to func_sts->dtd_type for BTF_KIND_FUNCS struct data to contain the type id of the previous entry. gcc/ChangeLog: * btfout.cc (btf_collect_dataset): Corrected BTF type id. --- gcc/btfout.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Comments
Hi Cupertino, Just some nits below. Apologies for incoming pedantry. On 2/27/24 11:04, Cupertino Miranda wrote: > This patch correct the aditition of +1 on the type id, which originally > was done in the wrong location and leaded to func_sts->dtd_type for > BTF_KIND_FUNCS struct data to contain the type id of the previous entry. Multiple typos here: correct -> corrects aditition -> addition ...leaded to.. -> ..led to.. func_sts -> func_dtd BTF_KIND_FUNCS -> BTF_KIND_FUNC > > gcc/ChangeLog: > > * btfout.cc (btf_collect_dataset): Corrected BTF type id. Please use present tense in the ChangeLog entries, to match GNU style guidelines and existing entries, i.e. "Correct..." instead of "Corrected..." The same goes for the commit header, please use present tense to match the style of existing commits, i.e. "btf: fix type id..." instead of "fixed". The patch itself LGTM, so OK with above changes. Thanks! > --- > gcc/btfout.cc | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/gcc/btfout.cc b/gcc/btfout.cc > index dcf751f8fe0d..7e114e224449 100644 > --- a/gcc/btfout.cc > +++ b/gcc/btfout.cc > @@ -457,7 +457,8 @@ btf_collect_datasec (ctf_container_ref ctfc) > func_dtd->dtd_data.ctti_type = dtd->dtd_type; > func_dtd->linkage = dtd->linkage; > func_dtd->dtd_name = dtd->dtd_name; > - func_dtd->dtd_type = num_types_added + num_types_created; > + /* +1 for the sentinel type not in the types map. */ > + func_dtd->dtd_type = num_types_added + num_types_created + 1; > > /* Only the BTF_KIND_FUNC type actually references the name. The > BTF_KIND_FUNC_PROTO is always anonymous. */ > @@ -480,8 +481,7 @@ btf_collect_datasec (ctf_container_ref ctfc) > > struct btf_var_secinfo info; > > - /* +1 for the sentinel type not in the types map. */ > - info.type = func_dtd->dtd_type + 1; > + info.type = func_dtd->dtd_type; > > /* Both zero at compile time. */ > info.size = 0;
Corrected and Pushed. Thanks, Cupertino David Faust writes: > Hi Cupertino, > > Just some nits below. Apologies for incoming pedantry. > > On 2/27/24 11:04, Cupertino Miranda wrote: >> This patch correct the aditition of +1 on the type id, which originally >> was done in the wrong location and leaded to func_sts->dtd_type for >> BTF_KIND_FUNCS struct data to contain the type id of the previous entry. > > Multiple typos here: > correct -> corrects > aditition -> addition > ...leaded to.. -> ..led to.. > func_sts -> func_dtd > BTF_KIND_FUNCS -> BTF_KIND_FUNC > >> >> gcc/ChangeLog: >> >> * btfout.cc (btf_collect_dataset): Corrected BTF type id. > > Please use present tense in the ChangeLog entries, to match GNU style > guidelines and existing entries, > i.e. "Correct..." instead of "Corrected..." > > The same goes for the commit header, please use present tense to match > the style of existing commits, > i.e. "btf: fix type id..." instead of "fixed". > > The patch itself LGTM, so OK with above changes. > Thanks! > >> --- >> gcc/btfout.cc | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/gcc/btfout.cc b/gcc/btfout.cc >> index dcf751f8fe0d..7e114e224449 100644 >> --- a/gcc/btfout.cc >> +++ b/gcc/btfout.cc >> @@ -457,7 +457,8 @@ btf_collect_datasec (ctf_container_ref ctfc) >> func_dtd->dtd_data.ctti_type = dtd->dtd_type; >> func_dtd->linkage = dtd->linkage; >> func_dtd->dtd_name = dtd->dtd_name; >> - func_dtd->dtd_type = num_types_added + num_types_created; >> + /* +1 for the sentinel type not in the types map. */ >> + func_dtd->dtd_type = num_types_added + num_types_created + 1; >> >> /* Only the BTF_KIND_FUNC type actually references the name. The >> BTF_KIND_FUNC_PROTO is always anonymous. */ >> @@ -480,8 +481,7 @@ btf_collect_datasec (ctf_container_ref ctfc) >> >> struct btf_var_secinfo info; >> >> - /* +1 for the sentinel type not in the types map. */ >> - info.type = func_dtd->dtd_type + 1; >> + info.type = func_dtd->dtd_type; >> >> /* Both zero at compile time. */ >> info.size = 0;
diff --git a/gcc/btfout.cc b/gcc/btfout.cc index dcf751f8fe0d..7e114e224449 100644 --- a/gcc/btfout.cc +++ b/gcc/btfout.cc @@ -457,7 +457,8 @@ btf_collect_datasec (ctf_container_ref ctfc) func_dtd->dtd_data.ctti_type = dtd->dtd_type; func_dtd->linkage = dtd->linkage; func_dtd->dtd_name = dtd->dtd_name; - func_dtd->dtd_type = num_types_added + num_types_created; + /* +1 for the sentinel type not in the types map. */ + func_dtd->dtd_type = num_types_added + num_types_created + 1; /* Only the BTF_KIND_FUNC type actually references the name. The BTF_KIND_FUNC_PROTO is always anonymous. */ @@ -480,8 +481,7 @@ btf_collect_datasec (ctf_container_ref ctfc) struct btf_var_secinfo info; - /* +1 for the sentinel type not in the types map. */ - info.type = func_dtd->dtd_type + 1; + info.type = func_dtd->dtd_type; /* Both zero at compile time. */ info.size = 0;