[PATCH v2 4/7] x86_64_return_value_location: Support lvalue and rvalue references

Frank Ch. Eigler fche@redhat.com
Fri Feb 10 16:22:30 GMT 2023


Hi -

> $ cat 1.cpp
> int &foo() { throw; }
> int &&bar() { throw; }
> $ g++ -g 1.cpp -c
> and then running
> 
> $ LD_LIBRARY_PATH=../libelf:../libdw ./funcretval -e 1.o
> 
> What would be a good way to integrate such a testcase?
> Currently all tests are built with gcc, is it okay to add one
> built with g++? [...]

Sure.


- FChE



More information about the Elfutils-devel mailing list