diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2023-02-13 17:45:50 +0100 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2023-02-14 15:12:48 +0100 |
commit | a4fafb7722c9950dacd5689f1ce8e31f8fa94ed5 (patch) | |
tree | fa3a53dc2e4297e8200c90e0a3ac4bdb90c9c412 /tests/Makefile.am | |
parent | 47297d8bf2f516b66b6d45934849137ab7658a99 (diff) | |
download | elfutils-a4fafb7722c9950dacd5689f1ce8e31f8fa94ed5.tar.gz |
backends: Support returning lvalue and rvalue references
On the low level, they are the same as pointers. The change needs to be
done for all backends, so define a function and a macro to avoid
repetition. Also add a native test, which has to be implemented in C++.
Add the configure check for it.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 36823d94..efbb4e63 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -262,6 +262,12 @@ TESTS += run-debuginfod-federation-metrics.sh endif endif +if HAVE_CXX11 +check_PROGRAMS += funcretval_test++11 +funcretval_test__11_SOURCES = funcretval_test++11.cxx +TESTS += run-funcretval++11.sh +endif + EXTRA_DIST = run-arextract.sh run-arsymtest.sh run-ar.sh \ run-ar-N.sh \ run-show-die-info.sh run-get-files.sh run-get-lines.sh \ @@ -604,7 +610,8 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh run-ar.sh \ run-readelf-dw-form-indirect.sh testfile-dw-form-indirect.bz2 \ run-nvidia-extended-linemap-libdw.sh run-nvidia-extended-linemap-readelf.sh \ testfile_nvidia_linemap.bz2 \ - testfile-largealign.o.bz2 run-strip-largealign.sh + testfile-largealign.o.bz2 run-strip-largealign.sh \ + run-funcretval++11.sh if USE_VALGRIND |