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

Hi,

The overhead of the odr optimization is small enough to enable it by default.

Enable --odr by default.

Any comments?

Thanks,
- Tom

[odr] Enable --odr by default

2019-12-10  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 4a4a346..8532ef8 100644
--- a/dwz.c
+++ b/dwz.c
@@ -181,7 +181,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:[~2019-12-10 17:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01  0:00 [RFC 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).