From patchwork Thu Jul 20 14:47:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jambor X-Patchwork-Id: 123329 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp3171183vqt; Thu, 20 Jul 2023 07:48:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlEB2twxx6ybsYNUqaX1mfad+lD0LW6MlR7YexvAFrAeIv0jLhAzrykvSQZYx5K6+DuYDft2 X-Received: by 2002:a17:906:38f:b0:98e:1156:1a35 with SMTP id b15-20020a170906038f00b0098e11561a35mr4825476eja.74.1689864488788; Thu, 20 Jul 2023 07:48:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689864488; cv=none; d=google.com; s=arc-20160816; b=OUrBVyxkv+F7h25jlDowSt8eIAatVztHyvPXagP/Ih459Zgs6WfW+0Z3ZTSDAclmjB 26sZnnkQSqzdB2vr6nzv/ZCN8OiVdRQ9ilfozM9fmyfOibUqax5auT1+Lz9iDtO4ZJ1R mNx+E/GpbZmekBp0CBRZU+mPQTZ2Q4VvMPkHUxuFLuzYl9NIdZhv3zG3r1bCeD8utnQm gSF/nUGGTARV+0k40/FVqeo169yN2OPYKlMidqfZskklj39/5MesuitAnyTZwhJXLgNg iPUS8lNIIsxDypoW2wVJ6h30r0SJzXe+quJ8Y16qCeQFqQhz3giFnEf6XwLk6mERY/bK 5y6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:message-id:date :user-agent:references:in-reply-to:subject:cc:to:from:dkim-signature :dkim-signature:dmarc-filter:delivered-to; bh=Yn+8kt316D6dbbnM740Kc9rW+Zy61eA72r0lhrqfO9c=; fh=WxGEeeywhPKbygF3c6mKwtbfit8d+7J2D4vGDqwdTGc=; b=xTtrK1iKbspkGuY7cDThUT0HtT7OsbqQceAThi8JEuMu1qZ9zWzG4hje6LDbghehff QXu+XQ0/ITVSw17OO+MI5LRgPidlZbm+3ygZ597z1ZizjE5Up/wThdbNI8Eiz1uiY+3k dv1EzsUdpA1xc8j5O0AW52SwmMpjFFKN+w6oYe8a1PeHpYD7dqbz6LNG+zx8ctztnEn7 IW9hobBVyMQ+NXQ3T+GeIbhXT6pOVzlecGTPrX0ADyJ7ZUopb5IMDxGRfJLuEjy+K3uD 6Paai6h/Fz9fiexAwz7Kj2sWosK3VdzKnRJe1cNGqb+9k8O9+6x1H0ZCcxIFb2IF7/cB LsRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=Ex4qqaYN; dkim=neutral (no key) header.i=@suse.cz; 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" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id mf23-20020a170906cb9700b00992e9c1ab78si747737ejb.734.2023.07.20.07.48.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jul 2023 07:48:08 -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=@suse.cz header.s=susede2_rsa header.b=Ex4qqaYN; dkim=neutral (no key) header.i=@suse.cz; 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" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5F5F33853D1E for ; Thu, 20 Jul 2023 14:47:49 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id B44273858025 for ; Thu, 20 Jul 2023 14:47:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B44273858025 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id BEBC722C7B; Thu, 20 Jul 2023 14:47:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1689864443; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Yn+8kt316D6dbbnM740Kc9rW+Zy61eA72r0lhrqfO9c=; b=Ex4qqaYNcE3iE3hMdxVZJoQWzBY3+CLVw1eH4QBpKXOpq+irqJqWYRFI5ZNlVBscDJxCcu u4TNL3BYKCkCX5xqav7ZbCjCZb8yLjoyqbi0C12FGE3iLBKkCNlpCh08KOzUKGvJQ/fmTR etNu9BW6u7AY2BZpbFY2/WaOzuPaaGo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1689864443; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Yn+8kt316D6dbbnM740Kc9rW+Zy61eA72r0lhrqfO9c=; b=orIzkDFcfijvoKunTjiXkoNrdN0BBpf8+pnzL8UzuP5WR/Zvh6wYopYPwwVb3dJWrdoY7S SM2tMkBBcGbBOcDw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B217C138EC; Thu, 20 Jul 2023 14:47:23 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id XJBNK/tIuWRvfwAAMHmgww (envelope-from ); Thu, 20 Jul 2023 14:47:23 +0000 From: Martin Jambor To: David Malcolm Cc: GCC Patches Subject: [committed] Document new analyzer parameters In-Reply-To: References: <20230531180630.3127108-1-dmalcolm@redhat.com> <20230531180630.3127108-4-dmalcolm@redhat.com> User-Agent: Notmuch/0.37 (https://notmuchmail.org) Emacs/28.2 (x86_64-suse-linux-gnu) Date: Thu, 20 Jul 2023 16:47:23 +0200 Message-ID: MIME-Version: 1.0 X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_SOFTFAIL, 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: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771951345841326672 X-GMAIL-MSGID: 1771951345841326672 Hi, This patch documents the analyzer parameters introduced in r14-2029-g0e466e978c7286 also in gcc/doc/invoke.texi. Committed as obvious after testing with make pdf and make info and eyeballing the result. Thanks, Martin 2023-07-20 Martin Jambor * doc/invoke.texi (analyzer-text-art-string-ellipsis-threshold): New. (analyzer-text-art-ideal-canvas-width): Likewise. (analyzer-text-art-string-ellipsis-head-len): Likewise. (analyzer-text-art-string-ellipsis-tail-len): Likewise. --- gcc/doc/invoke.texi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index d3c821e208a..5628c08214d 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -16324,6 +16324,18 @@ The parameter is used only in GIMPLE FE. The maximum number of 'after supernode' exploded nodes within the analyzer per supernode, before terminating analysis. +@item analyzer-text-art-string-ellipsis-threshold +The number of bytes at which to ellipsize string literals in analyzer text art diagrams. + +@item analyzer-text-art-ideal-canvas-width +The ideal width in characters of text art diagrams generated by the analyzer. + +@item analyzer-text-art-string-ellipsis-head-len +The number of literal bytes to show at the head of a string literal in text art when ellipsizing it. + +@item analyzer-text-art-string-ellipsis-tail-len +The number of literal bytes to show at the tail of a string literal in text art when ellipsizing it. + @item ranger-logical-depth Maximum depth of logical expression evaluation ranger will look through when evaluating outgoing edge ranges.