public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [committed 12/13][odr] Enable --odr by default
@ 2020-01-01  0:00 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2020-01-01  0:00 UTC (permalink / raw)
  To: dwz, jakub

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  <tdevries@suse.de>

	* 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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-06 16:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-01  0:00 [committed 12/13][odr] Enable --odr by default Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).