Hi, I've made a few more updates, as described in the changelog below. Please take a look.
v2: https://sourceware.org/pipermail/elfutils-devel/2023q1/005868.html v2 -> v3: * Drop the integrated patches. * Fix all backends with respect to returning references and rvalue references; add a test. * Apply Mark's suggestions to the printversion patch. v1: https://sourceware.org/pipermail/elfutils-devel/2023q1/005831.html v1 -> v2: * Drop the unnecessary and the integrated patches. * Add a comment to the xdefault_pattern patch. * Add extern to the printversion patch. * Use the fix from Mark for the handle_bit_registers() issue. * Fix the --disable-demangle default value. Best regards, Ilya Ilya Leoshkevich (4): tests: Ignore dwfl-report-offline-memory printversion: Fix unused variable backends: Support returning lvalue and rvalue references configure: Add --enable-sanitize-memory backends/aarch64_retval.c | 5 ++--- backends/alpha_retval.c | 5 ++--- backends/arm_retval.c | 5 ++--- backends/i386_retval.c | 5 ++--- backends/ia64_retval.c | 5 ++--- backends/libebl_CPU.h | 15 ++++++++++++++ backends/m68k_retval.c | 5 ++--- backends/ppc64_retval.c | 5 ++--- backends/ppc_retval.c | 5 ++--- backends/riscv_retval.c | 5 ++--- backends/s390_retval.c | 5 ++--- backends/sh_retval.c | 5 ++--- backends/sparc_retval.c | 5 ++--- backends/x86_64_retval.c | 7 +++---- configure.ac | 35 +++++++++++++++++++++++++++++++-- debuginfod/Makefile.am | 3 ++- debuginfod/debuginfod.cxx | 3 +-- lib/printversion.h | 5 ++++- libasm/Makefile.am | 3 ++- libdw/Makefile.am | 3 ++- libelf/Makefile.am | 3 ++- tests/.gitignore | 2 ++ tests/Makefile.am | 18 +++++++++++++++-- tests/funcretval_test++11.cxx | 37 +++++++++++++++++++++++++++++++++++ tests/run-funcretval++11.sh | 21 ++++++++++++++++++++ tests/run-readelf-self.sh | 5 +++++ tests/run-strip-reloc.sh | 5 +++++ tests/run-varlocs-self.sh | 5 +++++ 28 files changed, 179 insertions(+), 51 deletions(-) create mode 100644 tests/funcretval_test++11.cxx create mode 100755 tests/run-funcretval++11.sh -- 2.39.1