dwz/dwz-document-experimental-status-of-odr.patch
Martin Pluskal ef157f6ece Accepting request 875368 from home:tomdevries:branches:devel:tools:compiler-dwz-pre-release-0.14
- Change Version tag from 0.14rc1 to 0.14~rc1
  * Rename dwz-0.14rc1.tar.xz to dwz-0.14~rc1.tar.xz
- Fix testsuite build fail on riscv64:
  * dwz-testsuite-fix-pr25109.sh-on-riscv64.patch
- Update reported dwz version
  * dwz-update-version.patch
- DWZ 0.14-rc1 (master branch commit 0d391bf) update:
  * Dropped patches:
    - dwz-fix-assertion-off-cu_size-in-recompute_abbrevs.patch
    - dwz-fix-die-no-multifile-propagation.patch
    - dwz-fix-refd-NULL-assertion-in-write_die.patch
    - dwz-fix-reference-from-pu-to-cu.patch
    - dwz-fix-segfault-in-die_cu.patch
    - dwz-testsuite-adjust-pr24468-sh-test-case-for-readelf-with-follow-links.patch
    - dwz-testsuite-detect-when-devel-ignore-size-sh-is-unsupported.patch
    - dwz-testsuite-fix-partial-unit-grepping-in-pr24468-sh.patch
    - dwz-update-version-copyright-message.patch
  * Added patches:
    - dwz-add-assert-checking-that-cu-is-not-referenced-from-pu.patch
    - dwz-call-reorder_dups-asap.patch
    - dwz-document-experimental-status-of-odr.patch
    - dwz-enable-odr-by-default.patch
    - dwz-fix-reference-of-pu-to-cu-for-odr.patch
    - dwz-precompute-partitions.patch
    - dwz-update-suse-copyright-years.patch
  * Added BuildRequires gcc-c++

OBS-URL: https://build.opensuse.org/request/show/875368
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/dwz?expand=0&rev=34
2021-02-26 14:20:13 +00:00

33 lines
1.0 KiB
Diff

Document experimental status of odr
Add documentation of the experimental status of the odr optimization in dwz.1.
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 32df953..63c50d5 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.
.TP
.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.
Enabled by default.
.TP
.B \-\-odr-mode=<basic|link>