Message ID | 20221118215512.612834-1-guillermo.e.martinez@oracle.com |
---|---|
State | New |
Headers |
Return-Path: <libabigail-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 42A173853D74 for <patchwork@sourceware.org>; Fri, 18 Nov 2022 21:55:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 42A173853D74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668808533; bh=xIAmX1dTpaDNcoEsE2BA0ae0d8cDc3UoFPiu/uRYo0E=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Help:List-Subscribe:From: Reply-To:From; b=nuvmG01rfPtOPpSxZYZ9yZm5ULgncb7ivMgRdS7FTRrq4127bbpwz/f5BsiwqCgss lsywsVGgPBSKLeVdZRI+cawXsa2cjAOzzLk6hi6rpLfRbMHJdTKCmoNCBKNXUBfmzi TDAt8hk6/8pzfCwgOlgkVcz779SkQtQVwvFyS7cc= X-Original-To: libabigail@sourceware.org Delivered-To: libabigail@sourceware.org Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by sourceware.org (Postfix) with ESMTPS id 49D863854551 for <libabigail@sourceware.org>; Fri, 18 Nov 2022 21:55:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 49D863854551 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 2AILNpOJ028196 for <libabigail@sourceware.org>; Fri, 18 Nov 2022 21:55:27 GMT Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3kxh4586kb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <libabigail@sourceware.org>; Fri, 18 Nov 2022 21:55:26 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 2AIL8Et5018790 for <libabigail@sourceware.org>; Fri, 18 Nov 2022 21:55:26 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2100.outbound.protection.outlook.com [104.47.58.100]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3kt1xhfkje-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <libabigail@sourceware.org>; Fri, 18 Nov 2022 21:55:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Je6YhCFUDPHYLKoDkcEtSe1c/TDHWYFG5duyvoHlyO+yNaK/SsIDFELkNvCXvHyf4SXOmB8BLzh2uA2v971cjGgr3p3HwBFOdzaeazt9i9RkFdTRmoLKJ+Iu9PutHeF/PZPEnSkE93e6JekopAGQ4S6q+o2c5OtVImPqzy8PlB+p/0KArZzNH+1Wn4AelWL/gxElrYMi1u3KlHeNFyh9mn6u58XD8o3kAuZ9y4FXE93BTLK5OVLavi/691dQdtzc1n8tEQLTDhx4RoTSGSKgTHYIg+BMJnpX7A0wrvkotyxqFAIXB68reE6O49jhssUmppxmAkawiPD8ZIzPfUtGmQ== 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=xIAmX1dTpaDNcoEsE2BA0ae0d8cDc3UoFPiu/uRYo0E=; b=KAqfv2C3shT8Vvqfn9BdJk/0T4K7CVpwP69wupV7a3kjbyASlXQjptQhaNroHY9LnkFvYLv5+6LYxDzmv/oyatE5vV2Cg6erkpadCJcJaCaa7rO4aN8prJrUd1nRlGEU6XKnlJPVWDbYQRcioK2SNVGRx6eJM4vHdeCy/UNV+gN0mTcPAXtEHzzc20QWuUws7xegOKuu25l6jvF6GlsKQXgwhBZ0aduuLVEPnk+btRgr57m0gDLYBM8X8uhRBYSyQrg7vXSy0btJ3Rk6UrGF9sShQ/p85tIF3+CJmj1j3FeKJxTzJ0fcfLV62Xw7G79qlEBFxw8ZcDhzOxEluRnaTA== 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 Received: from DM5PR10MB1401.namprd10.prod.outlook.com (2603:10b6:3:f::15) by SA2PR10MB4729.namprd10.prod.outlook.com (2603:10b6:806:11c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.16; Fri, 18 Nov 2022 21:55:23 +0000 Received: from DM5PR10MB1401.namprd10.prod.outlook.com ([fe80::8557:41f3:578d:ff1a]) by DM5PR10MB1401.namprd10.prod.outlook.com ([fe80::8557:41f3:578d:ff1a%11]) with mapi id 15.20.5834.009; Fri, 18 Nov 2022 21:55:23 +0000 To: libabigail@sourceware.org Cc: "Guillermo E. Martinez" <guillermo.e.martinez@oracle.com> Subject: [PATCH] ctf-front-end: Add test for alias symbols Date: Fri, 18 Nov 2022 15:55:12 -0600 Message-Id: <20221118215512.612834-1-guillermo.e.martinez@oracle.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <87zgcpmz19.fsf@seketeli.org> References: <87zgcpmz19.fsf@seketeli.org> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SA9PR13CA0040.namprd13.prod.outlook.com (2603:10b6:806:22::15) To DM5PR10MB1401.namprd10.prod.outlook.com (2603:10b6:3:f::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR10MB1401:EE_|SA2PR10MB4729:EE_ X-MS-Office365-Filtering-Correlation-Id: 21325f48-aa2b-4afd-f39f-08dac9af980c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +7tCy1V610tDhB5SSq+k1WGz/T8M9KW0pOD8xXr0J2jXegA2iaUO1w18sUIXlz2FXSiV7y2f637kC/lW6futwJpLOdlaML4syHqu3DM1zQ3hfKHnahHr0q8+bF4f8OFBnRiHQuFeJkKuD8/7IlEg9KiNrN5DQLGcNlu2TAYW5ce1A94PtDvp0V5z6bGOjaRdXpZTsdTDRz3aLtH12YnHpbxgT8mTiCg1X9EMSM3trDN8pV4GG5EVHoogU/15HhSbu5PRQM4HzuDwdRJnaYLrkZ+eN70s4n/bwyjMomYlTUfRDHVn8f1uWbn10z2C68DJKfigULbXcHHj43rF+2aqP0UtOYdCWR8Ji9I1Xm4dT93Y4VsMS5AymczgpbY4EyhrT7dfOzQQMbeKT3euAIuTI1hUwmxvx+B8m+RJBTm8883MEKmEj+SL/7Yf9P8qgeBnyAzxLJ+L7C4nFEzOQabAs2Ca+RoEVINJXGCqz4xfpjvIDKtVWqn2n2KWZ9OVwMaL/EzXf8/y/eZVzcxJQf8HX9bj7sar1zb0bVuvXOMnlDlCR8LtgOBfaqtFlH4UKR2k+S6JoOkJUxkbkVP8IhDTppGqKHn5kSE6WLGyHgMaLlaf/WDfql2zUtg0IsTF+rOS4fuEUInYAxiPaPikV/8WbQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR10MB1401.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(136003)(346002)(39860400002)(376002)(366004)(451199015)(103116003)(36756003)(86362001)(5660300002)(2906002)(2616005)(186003)(6512007)(1076003)(38100700002)(6486002)(6506007)(107886003)(6666004)(8936002)(66946007)(41300700001)(6916009)(316002)(478600001)(4326008)(66556008)(66476007)(8676002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8p5BmiYhK62cbqEduG6WOs6bX/H2brdGFKWzCgw1rF/mnE0lFwVcHFMVIKe4jH60mbfEXv/G5iOTyjODX9Ul4/Fhf9JkmZ1ppCtnBZBQpjcvaoBffEXsg9g3g3KLdMKc8pC2RoJ9PY/9C07nSKHg7ngDDqPRpjz5aJ7uBkJ31dqkTo3e8vIDiwkBDcTsce01S8iy1oUm0+VHycxtIu2e9fKCYrk4Q8BBuy81hW8cmJUJIEWjgyEnAD/mqiIw4fkfk/S2V4tSSYD2r/yJcqJ10FOmR51VgvMEjUfIjgVIt6ML1R2ZhQZfed/I8ntGrXSengKDUF/bh1ySrEvdShvyry6TJg7V2KY764DEG3sJIl2aAnvUHZUBoxDkyZj3sSne+U/F+VqNO7L5/TeT6HO0CINA+rQ0vm6viHVxDTYaZzH7w9aUQAfK98RPteB4YrOkY6ymxkJgGTYMMlz0OpbsJbYs62zguT7g8M9HXAK0dck48oPXq8YbBCaAKpTYJURsGTmOw+NrFMAvlU4hGXscgo6sr4oYUeK348tL7586GfD2NVmDr4CpwP6owDFR8/llwohbi6kLKeYrzYZxGKzhF/e5PMv7bpQaNK5YHT++tWld6pWO312GWj3C5QMonS9aPUfEN6dcHPqSZ7NROAnq/slRJB8WPb5kyhtgwWpUNJjs1DzXX/Q93CiJVySzR+sc9otgEYcpCn7mrujlbruiRFG5x09p8+yZWSQ6IpabOt+WEgw93UL/OWnnus+Vcm42oMzr5nCRa6sxQzyCZN99nvn+WkjJPZSMMvKU0ljfPCoOWmbZM5lmURefLnZK/B54/OpvMo+uM4GzcQx+NzwX+iFl0k8txrh9M7GQPUkXmoDTePU54Owaj9sUSfmd9KT6Vvd1W6zvlsWHsdw/hNongvJmINcbMEXJ4X3kvsaeZ0jr4Kejgo4jjKmi5WvtwBh+5LtwqNANYYs7G5HAIaXVxS8DSJnVsiOeBzbSNvDd+c1fA9jcVKzKQaCrv00UXmwA8MJ32e5AcXHAExvZAp2hbXhgHXSM6XCUdM/rzAW2tNG4nDks6ZQ50xZV3M3DDVJA0YGYndg8xGeg4BqYjqoByPhEFELY7wYO8bF5F23Igv1eevcmCEk8Y6g6loF9aXyKyNELqxIjv9OP0jyLk+bNztXZ810KwCSlIZumov6YvVr9dB7QBx4bZkWbu1/j58km9r6DVma7Ugbco44dCWSkbi+RixPEhOQFMsSP+aqFoum9Qv4ZCroCf2WGUulMX/lO3MYhHFpx1rbmbqERDh8V5oK4pjozNLRB/GtL5BS+nIsaLpg3AwAyd7EIZIzgngMfOgw/j/rygBoUAWOzgcdoHTra+bNg3MBl0i0Ih34A4LkdztndfeYxKESPNbKXwcyTqXL36D3JXZfqM99AuBo7sTtvedo5WBUPjqN6QUx8sDFAH46uMlzvYDzic5y3bmfMhfsUYM1/75ZvE47Zmz6Pb5Rz5u0N3shpP7ZIwlQfIA9I/Tjg38YD4LNJEbKXLQtQ8reni8ofGYzD7zZetk/LQ99hCNDW2gRm2MICCIMGfbOzrxQQL/BFZ+U3ZSYEVrdOka23kiRzbKShbBY14W+E0dPwoQYUm9dOhe+5ySDQOqexZnUYmK8yg6/1DfeCPFSvjdHpvo57EohUEegmYk2bnbrUsRjV8XBta0NmZ/pNQE8= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: fNjjkzUelsPAfuSy+Kqd8HuZBznUeo7MnG6UT8+7vB95LOBzmmjEiVG3tZ0JKI9Y/HiNR8GTNPEibICeHNH3b08WhZDCCHDSdIzyLpcqGnTU1M5dI3iMXx34tv/wba4NqABDPye6p3hsJxQuxu8WQcC1KmkLioVkWChEZKm3eIWNrliv2AFMBt3HZuDzgJEJNPqFi7pveOmSkty6czhXgxBqjdl+BAx0Fd+a6Yi7lFhJP48gzRKBBwPsr57UPtjZ6KqqkBzxR87zPJQpeJtl9ZydOITc4NvDjaGEDwOm+mn1tUh7KF3QtKetVSJT4DzlnEZspN+vRr6oekUdKlFyQUDBcQmuffBxiu6b7O3Sbj7m5XoVZO+McOthEvHvAeBcGmKiRgXsxQu+QCVA7Eqq2rSuluwgljZDZfLP4d9bDhBjyfo6F0ZN/N5mMT2cIijjw3F0Isf5Q8++Xy5iZlDAdIeLHIuOIpRl7MWOvf8VFBd6H4qZrzyPw1db0BtwGP01it4W8GegdAEvrsRe3yURFSgtCm1tNPYqy/t6dWEr0X/5E8KmVC14L9x3vegNl3ntCazSayrs2xgCCpFh9hybPaUV1GGyHUlt4d+wMa+zm4xdrIKttu1djNNCD/4zax4IIRcvyFbkRKDiUgsb2dcAGS/yJ9D/8Vh08EI9p15qTLze/ewLohFKsBN2bfqmLel/bL/ajJMJ2cYYoaQN9Vf8JBZB7lhGashcF5+LHC0hgCxyAv7uD4OXfnh+AJqTpoWe1kl1txzh9KIrlqITtbqhpA== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 21325f48-aa2b-4afd-f39f-08dac9af980c X-MS-Exchange-CrossTenant-AuthSource: DM5PR10MB1401.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2022 21:55:23.4729 (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: UdqUkwqjMWfLVxFQ6sTOemW10HLGMYWD5o15JU6R2f5YHb5p+sRGM5b61/2Je0gNSZtXKxg9/qcle7N5w6UhqemUbNwsI53vQQUKWqypoEo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4729 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-18_08,2022-11-18_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=805 bulkscore=0 mlxscore=0 phishscore=0 suspectscore=0 spamscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211180130 X-Proofpoint-ORIG-GUID: 7SQ4scOFuJnQrwpEQ7rV9yPecU_v237K X-Proofpoint-GUID: 7SQ4scOFuJnQrwpEQ7rV9yPecU_v237K X-Spam-Status: No, score=-12.6 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_H2, 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: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project <libabigail.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libabigail>, <mailto:libabigail-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libabigail/> List-Help: <mailto:libabigail-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libabigail>, <mailto:libabigail-request@sourceware.org?subject=subscribe> From: "Guillermo E. Martinez via Libabigail" <libabigail@sourceware.org> Reply-To: "Guillermo E. Martinez" <guillermo.e.martinez@oracle.com> Errors-To: libabigail-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libabigail" <libabigail-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
ctf-front-end: Add test for alias symbols
|
|
Commit Message
Guillermo E. Martinez
Nov. 18, 2022, 9:55 p.m. UTC
This patch add a new test case in the ctf-front-end test suite to to test for alias symbols. Comments will be appreciated!. Thanks, guillermo --- tests/data/Makefile.am | 1 + tests/data/test-read-ctf/test-alias.o | Bin 0 -> 1664 bytes tests/test-read-ctf.cc | 8 ++++++++ 3 files changed, 9 insertions(+) create mode 100644 tests/data/test-read-ctf/test-alias.o index 6dc2d53f..8da196c8 100644
Comments
Hello Guillermo, "Guillermo E. Martinez via Libabigail" <libabigail@sourceware.org> a écrit: > Hello, > > Any comment about this patch? Ah, oops, it looks like it felt through the cracks, sorry about that. I have reviewed it just now, please see my comments below. [...] "Guillermo E. Martinez via Libabigail" <libabigail@sourceware.org> a écrit: > This patch add a new test case in the ctf-front-end test suite to > to test for alias symbols. OK. So I have updated the patch to make it apply to my tree as it wouldn't apply due to obvious divergences. Also, I have added a ChangeLog compatible paragraph to the commit log. Could you please add a "signed-off" to the resulting patch below, so that I can apply it? Thanks! From 22ee2da3dc78cbf055f400139d0a4ca467e0a294 Mon Sep 17 00:00:00 2001 From: "Guillermo E. Martinez" <guillermo.e.martinez@oracle.com> Date: Sun, 20 Nov 2022 21:46:15 -0600 Subject: [PATCH] ctf-front-end: Add test for alias symbols This patch adds a new test case in the ctf-front-end test suite to to test for alias symbols support. * tests/data/test-read-ctf/test-alias.o: New binary test input file. * tests/data/test-read-ctf/test-alias.o.abi: New exported abixml file. * tests/data/Makefile.am: Add the new test input above * tests/test-read-ctf.cc: Add the new test input above to the test harness. Signed-off-by: Dodji Seketeli <dodji@redhat.com> --- tests/data/Makefile.am | 1 + tests/data/test-read-ctf/test-alias.o | Bin 0 -> 1664 bytes tests/data/test-read-ctf/test-alias.o.abi | 16 ++++++++-------- tests/test-read-ctf.cc | 8 ++++++++ 4 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 tests/data/test-read-ctf/test-alias.o diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index e994aff3..0f1f4e26 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -643,6 +643,7 @@ test-read-ctf/test9.c \ test-read-ctf/test9.o \ test-read-ctf/test9.o.abi \ test-read-ctf/test-alias.c \ +test-read-ctf/test-alias.o \ test-read-ctf/test-alias.o.abi \ test-read-ctf/test-ambiguous-struct-A.c \ test-read-ctf/test-ambiguous-struct-A.o \ diff --git a/tests/data/test-read-ctf/test-alias.o b/tests/data/test-read-ctf/test-alias.o new file mode 100644 index 0000000000000000000000000000000000000000..18549b793a81754d6bc319eaa0f46179a4686b49 GIT binary patch literal 1664 zcmbtUv2GJV5S??36TpcQgb-3da-fJK@SbfX1SycgfFpz`5GkW*@4SvrobRl=O|WU8 zLZZtjQ1S_sNc;dL9Tgt{H4@CMcfekZC>UvOX5Y-4_3hj9i+d067d#KxJh%nFSBwI* z7N&BOwqO~`u)Fj6%kka^`1ZM2;EqjBFfO5&(a)lvN3WtkLD%TC4>^rKfxd!%(MG}v z;~q>)MSN5cqB&@#NdS*HXy?oih!PD0872EiG6NY$GB?>#8g(al?=T6$@23Oh2jgJu zr<n|6<>y)G$59}I=s-qsEm6;W;cJ!a-0w;)O<K#8?AAivo2<-q5dw7D?d?jn^JsUg z(zqt-qF!m%o6Sa}ezQ_lqoK;8fl9QDw*c%rn0G@06u^5=7@KF;^xkB2Ze-r`$KZ`t zz4h|q(lHh<AVyBMNRQhqtFH>}<<cE&p!Hvj<`&`Wk9p+<bK0{N(&Wq(ZuUZqG`KVe zzl`{rQ4|w2ez&WbZ_L4gj=07rX@oNZO_Vd~95u~7F!M?CUl)%Mk&g#j1{ifViG9wr z8fg%uCWs)<L7<ZONC%`2h$PiYpeD6k%kZgPA0&rjn5C$p9)rkKEQRXt_cA$9X8-?v ztm6REgfBDCYuSX)n{mDuyxzcsu&K|}lseqtM3=vbb-FJuf5-AzKOW<*Nmq9!^)mlE z6K!;R8;BEDclz$y#w!lae2&|e@3cY64Nk#@A7Gu%c;*h_dT1Nn-{pQ=0rpa>%YS3} zH?THsE`JY;bf&H8Cd}X2f%d-+P9a8I<}*HTZyNQ<?*En+Xs6LhW0!x@;uvP^rQQGf U4Em?mYgl*h4pBZ@e*6#qPtYBU=>Px# literal 0 HcmV?d00001 diff --git a/tests/data/test-read-ctf/test-alias.o.abi b/tests/data/test-read-ctf/test-alias.o.abi index 1fe61b8f..b5fd92ad 100644 --- a/tests/data/test-read-ctf/test-alias.o.abi +++ b/tests/data/test-read-ctf/test-alias.o.abi @@ -1,19 +1,19 @@ <abi-corpus version='2.1' path='data/test-read-ctf/test-alias.o'> <elf-function-symbols> <elf-symbol name='alias_func' type='func-type' binding='weak-binding' visibility='default-visibility' is-defined='yes'/> - <elf-symbol name='main_func' type='func-type' binding='global-binding' visibility='default-visibility' alias='alias_func,main_var,alias_var' is-defined='yes'/> + <elf-symbol name='main_func' type='func-type' binding='global-binding' visibility='default-visibility' alias='alias_func' is-defined='yes'/> </elf-function-symbols> <elf-variable-symbols> <elf-symbol name='alias_var' size='4' type='object-type' binding='weak-binding' visibility='default-visibility' is-defined='yes'/> - <elf-symbol name='main_var' size='4' type='object-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/> + <elf-symbol name='main_var' size='4' type='object-type' binding='global-binding' visibility='default-visibility' alias='alias_var' is-defined='yes'/> </elf-variable-symbols> <abi-instr address-size='64' language='LANG_C'> - <type-decl name='int' size-in-bits='32' alignment-in-bits='32' id='95e97e5e'/> - <function-decl name='main_func' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='8'> - <return type-id='48b5725f'/> + <type-decl name='int' size-in-bits='32' alignment-in-bits='32' id='type-id-1'/> + <function-decl name='main_func' visibility='default' binding='global' size-in-bits='64' alignment-in-bits='8' elf-symbol-id='main_func'> + <return type-id='type-id-2'/> </function-decl> - <var-decl name='alias_var' type-id='95e97e5e' mangled-name='alias_var' visibility='default'/> - <var-decl name='main_var' type-id='95e97e5e' mangled-name='main_var' visibility='default'/> - <type-decl name='void' id='48b5725f'/> + <var-decl name='alias_var' type-id='type-id-1' mangled-name='alias_var' visibility='default' elf-symbol-id='alias_var'/> + <var-decl name='main_var' type-id='type-id-1' mangled-name='main_var' visibility='default' elf-symbol-id='main_var'/> + <type-decl name='void' id='type-id-2'/> </abi-instr> </abi-corpus> diff --git a/tests/test-read-ctf.cc b/tests/test-read-ctf.cc index 236ccbf2..f618e0fd 100644 --- a/tests/test-read-ctf.cc +++ b/tests/test-read-ctf.cc @@ -335,6 +335,14 @@ static InOutSpec in_out_specs[] = "output/test-read-ctf/test-linux-module.abi", "--ctf" }, + { + "data/test-read-ctf/test-alias.o", + "", + "", + SEQUENCE_TYPE_ID_STYLE, + "data/test-read-ctf/test-alias.o.abi", + "output/test-read-ctf/test-alias.o.abi", + }, // CTF fallback feature. { "data/test-read-ctf/test-fallback.o",
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 5ec33924..3d9eb9d1 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -640,6 +640,7 @@ test-read-ctf/test9.c \ test-read-ctf/test9.o \ test-read-ctf/test9.o.abi \ test-read-ctf/test-alias.c \ +test-read-ctf/test-alias.o \ test-read-ctf/test-alias.o.abi \ test-read-ctf/test-ambiguous-struct-A.c \ test-read-ctf/test-ambiguous-struct-A.o \ diff --git a/tests/data/test-read-ctf/test-alias.o b/tests/data/test-read-ctf/test-alias.o new file mode 100644 index 0000000000000000000000000000000000000000..18549b793a81754d6bc319eaa0f46179a4686b49 GIT binary patch literal 1664 zcmbtUv2GJV5S??36TpcQgb-3da-fJK@SbfX1SycgfFpz`5GkW*@4SvrobRl=O|WU8 zLZZtjQ1S_sNc;dL9Tgt{H4@CMcfekZC>UvOX5Y-4_3hj9i+d067d#KxJh%nFSBwI* z7N&BOwqO~`u)Fj6%kka^`1ZM2;EqjBFfO5&(a)lvN3WtkLD%TC4>^rKfxd!%(MG}v z;~q>)MSN5cqB&@#NdS*HXy?oih!PD0872EiG6NY$GB?>#8g(al?=T6$@23Oh2jgJu zr<n|6<>y)G$59}I=s-qsEm6;W;cJ!a-0w;)O<K#8?AAivo2<-q5dw7D?d?jn^JsUg z(zqt-qF!m%o6Sa}ezQ_lqoK;8fl9QDw*c%rn0G@06u^5=7@KF;^xkB2Ze-r`$KZ`t zz4h|q(lHh<AVyBMNRQhqtFH>}<<cE&p!Hvj<`&`Wk9p+<bK0{N(&Wq(ZuUZqG`KVe zzl`{rQ4|w2ez&WbZ_L4gj=07rX@oNZO_Vd~95u~7F!M?CUl)%Mk&g#j1{ifViG9wr z8fg%uCWs)<L7<ZONC%`2h$PiYpeD6k%kZgPA0&rjn5C$p9)rkKEQRXt_cA$9X8-?v ztm6REgfBDCYuSX)n{mDuyxzcsu&K|}lseqtM3=vbb-FJuf5-AzKOW<*Nmq9!^)mlE z6K!;R8;BEDclz$y#w!lae2&|e@3cY64Nk#@A7Gu%c;*h_dT1Nn-{pQ=0rpa>%YS3} zH?THsE`JY;bf&H8Cd}X2f%d-+P9a8I<}*HTZyNQ<?*En+Xs6LhW0!x@;uvP^rQQGf U4Em?mYgl*h4pBZ@e*6#qPtYBU=>Px# literal 0 HcmV?d00001 diff --git a/tests/test-read-ctf.cc b/tests/test-read-ctf.cc --- a/tests/test-read-ctf.cc +++ b/tests/test-read-ctf.cc @@ -302,6 +302,14 @@ static InOutSpec in_out_specs[] = "data/test-read-ctf/test-linux-module.abi", "output/test-read-ctf/test-linux-module.abi", }, + { + "data/test-read-ctf/test-alias.o", + "", + "", + SEQUENCE_TYPE_ID_STYLE, + "data/test-read-ctf/test-alias.o.abi", + "output/test-read-ctf/test-alias.o.abi", + }, // This should be the last entry. {NULL, NULL, NULL, SEQUENCE_TYPE_ID_STYLE, NULL, NULL} };