[PATCH] Document experimental status of odr

Tom de Vries tdevries@suse.de
Thu Feb 25 16:17:31 GMT 2021


Add documentation of the experimental status of the odr optimization in dwz.1.

Any comments?

- Tom

Document experimental status of odr

2021-02-25  Tom de Vries  <tdevries@suse.de>

	PR dwz/27401
	* dwz.1: Document experimental status of odr.

 dwz.1 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dwz.1 b/dwz.1
index e9117b2..19dc814 100644
--- a/dwz.1
+++ b/dwz.1
@@ -112,11 +112,13 @@ corresponding forms, instead of the GNU extension \fI.gnu_debugaltlink\fR
 and corresponding forms.
 .B \-\-odr / \-\-no-odr
+.B Experimental.
 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.
+and may be deduplicated.  The status of this optimization is experimental.
+It's disabled in low-mem mode.
 Disabled by default.
 .B \-\-odr-mode=<basic|link>

More information about the Dwz mailing list