From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39855 invoked by alias); 6 Jan 2020 16:10:42 -0000 Mailing-List: contact dwz-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: dwz-owner@sourceware.org Received: (qmail 39837 invoked by uid 89); 6 Jan 2020 16:10:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.3 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.2 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,LIKELY_SPAM_BODY,SPF_PASS autolearn=ham version=3.3.1 spammy=advertising, million X-Spam-Status: No, score=-24.2 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,LIKELY_SPAM_BODY,SPF_PASS autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on sourceware.org X-Spam-Level: X-HELO: mx2.suse.de X-Virus-Scanned: by amavisd-new at test-mx.suse.de Date: Wed, 01 Jan 2020 00:00:00 -0000 From: Tom de Vries To: dwz@sourceware.org, jakub@redhat.com Subject: [committed 13/13][odr] Add --odr/--no-odr and --odr-mode entries to man page Message-ID: <20200106161036.GA20145@delia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-SW-Source: 2020-q1/txt/msg00013.txt Hi, Add an --odr/--no-odr entry and a --odr-mode entry to the man page, advertising the optimization to the user. Committed to trunk. Thanks, - Tom [odr] Add --odr/--no-odr and --odr-mode entries to man page 2020-01-06 Tom de Vries * dwz.1: Add --odr/--no-odr and --odr-mode entries. --- dwz.1 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/dwz.1 b/dwz.1 index a5a1ef6..3df7e59 100644 --- a/dwz.1 +++ b/dwz.1 @@ -88,6 +88,23 @@ containing more than \fICOUNT\fR DIEs at all. The default is 50 million DIEs. Specifying none as argument disables the limit. .TP +.B \-\-odr / \-\-no-odr +Enable/disable One-Definition-Rule optimization for C++ compilation units. +This optimization causes struct/union/class DIEs with the same name to be +considered equal. This has the effect that DIEs referring to distinct DIEs +representing the same type (like f.i. pointer type DIEs) are considered equal, +and may be deduplicated. +Enabled by default. +.TP +.B \-\-odr-mode= +Set the One-Definition-Rule optimization aggressiveness: basic or link. +When using the link setting, the optimization will attempt to replace +declarations of a struct/union/class with a corresponding definition. When +using the basic setting, that part of the optimization is disabled. +In normal operation, the link setting should be used. The basic setting is +provided only as fallback in case of problems with the link setting. Set to +link by default. +.TP .B \-? \-\-help Print short help and exit. .TP