From patchwork Wed Aug 31 05:54:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xi Ruoyao X-Patchwork-Id: 851 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:ecc5:0:0:0:0:0 with SMTP id s5csp76685wro; Tue, 30 Aug 2022 22:55:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR5cDW0zb8P0ZjniBk90kjnbUelBgNatJzWiv+G9B5tZlEhEW3mL4C3PS+p8ye8fGLfjRKWp X-Received: by 2002:a05:6402:240d:b0:442:b0c4:9e02 with SMTP id t13-20020a056402240d00b00442b0c49e02mr23547603eda.210.1661925353507; Tue, 30 Aug 2022 22:55:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661925353; cv=none; d=google.com; s=arc-20160816; b=m3W5K1yS+ZVU2hmuoxysCPBIXEXovAhcyE1ptwO/agB+Wehgk5oKmvga6SP8sKYIoC kTc6lQtn+ZPAhvsetcNwDbybZwHM1Lt964icCaFWln028xkRi/NV+OC9AnucK2IJpw+6 XK+Jy3Djat5TR+pi2KOruAnTQ/6QTevDDnluDHyPjh4Uz8uyKjb78Qd/ZANWmHmUPq9V ehexUfMKuROfviY4inqWQp0M1P9Xe7iL3f6/aR8POpr6jhmN/TvvkUHqRCGb2rMrBH62 F0Fse5MjqE2BGaIJGIccsto+5POhv5VZKVf96V5j9YITqNHik2RHayrGB4IQIH3lZ6UV CNlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:reply-to:from:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=4WYUzA9TTTW9UZ4dFqvR12VuU228hH/WKDX8oEEWFxQ=; b=X1DW2glJYt/T4GNoP9IQpLx93Y73aD5+Rb0wepBbP2oeYyy/RuuO/cdk+dHvjGeYC0 iejLqpQdf8gum+6mcNU49yZmC0xS3sCuiy8hsa7/jW27U3uBO5GOf79CJ4XiB/r1w0Ps WSE0har9NiK9w6kaoN8O29xk336O9U9t3DK3TcADUSloDC9HOcC8lcij9T8j1p80EsNl r1/D5DrpualVP6WoDqo/3iN52/MbYq7wrWKcQVOrvFxPnzorIJENC5LlDbwLIzi6+gyR oD002LnrZ6yWl6U3/4Y/yzbWFoT47HwJi2FF8e7pk/b5+551E9n1QZLNwEPg1dlCeil3 nIuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=l7Of5V88; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id sc42-20020a1709078a2a00b0073d5b605cefsi12002890ejc.261.2022.08.30.22.55.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Aug 2022 22:55:53 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=l7Of5V88; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 27BAF38515FF for ; Wed, 31 Aug 2022 05:55:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 27BAF38515FF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1661925352; bh=4WYUzA9TTTW9UZ4dFqvR12VuU228hH/WKDX8oEEWFxQ=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=l7Of5V88tQRRtiVfpofFC6fGjMKqfhIwWXVi2ZD+cxGmm7xZN5LE7myO2KesAtFg/ q/O1jAhz614JE5Ivov/hjGgqdDiCUyxjE2PvyJIHmDW/tMGXsdZGv36XddGRna24Iz 1K8yiyy3KGlu0FHhNIPDmMtGyBKdgrFcCAzsbiew= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from xry111.site (xry111.site [89.208.246.23]) by sourceware.org (Postfix) with ESMTPS id E03D83857B86 for ; Wed, 31 Aug 2022 05:55:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E03D83857B86 Received: from xry111-x57s1.. (unknown [IPv6:240e:358:118a:f800:dc73:854d:832e:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 061C1667C6; Wed, 31 Aug 2022 01:55:05 -0400 (EDT) To: gcc-patches@gcc.gnu.org Subject: [PATCH] libsanitizer: enable libubsan and libasan for loongarch64-*-linux* Date: Wed, 31 Aug 2022 13:54:45 +0800 Message-Id: <20220831055445.8808-1-xry111@xry111.site> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FROM_SUSPICIOUS_NTLD, FROM_SUSPICIOUS_NTLD_FP, GIT_PATCH_0, LIKELY_SPAM_FROM, PDS_OTHER_BAD_TLD, SPF_HELO_PASS, SPF_PASS, 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Xi Ruoyao via Gcc-patches From: Xi Ruoyao Reply-To: Xi Ruoyao Cc: Chenghua Xu , Lulu Cheng , Wang Xuerui Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1742655039871827809?= X-GMAIL-MSGID: =?utf-8?q?1742655039871827809?= The LoongArch support for libubsan and libasan has been added in: - https://reviews.llvm.org/D129371 - https://reviews.llvm.org/D129418 and we've merged them in r13-2269. It's time to enable them. No unexpected failures in GCC asan.exp and ubsan.exp tests. libsanitizer/ChangeLog: * configure.tgt: Allow loongarch64-*-linux*. --- libsanitizer/configure.tgt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt index fb89df4935c..87d8a2c3820 100644 --- a/libsanitizer/configure.tgt +++ b/libsanitizer/configure.tgt @@ -72,6 +72,8 @@ case "${target}" in ;; riscv64-*-linux*) ;; + loongarch64-*-linux*) + ;; *) UNSUPPORTED=1 ;;