From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39538 invoked by alias); 6 Jan 2020 16:10:33 -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 39529 invoked by uid 89); 6 Jan 2020 16:10:32 -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=-25.2 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:676 X-Spam-Status: No, score=-25.2 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,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 12/13][odr] Enable --odr by default Message-ID: <20200106161026.GA20119@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/msg00012.txt Hi, The overhead of the odr optimization is small enough to enable it by default. Enable --odr by default. Committed to trunk. Thanks, - Tom [odr] Enable --odr by default 2020-01-06 Tom de Vries * dwz.c (odr): Initialize to 1. --- dwz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwz.c b/dwz.c index 277c61d..f4ebd22 100644 --- a/dwz.c +++ b/dwz.c @@ -213,7 +213,7 @@ enum die_count_methods }; static enum die_count_methods die_count_method = estimate; -int odr = 0; +int odr = 1; enum odr_mode { ODR_BASIC, ODR_LINK }; enum odr_mode odr_mode = ODR_LINK; int odr_parsed = 0;