[Bug c++/87671] Incorrect debugging information for unique_ptr passed to a constructor
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 22 11:50:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87671
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Compiled with GCC 8 the debuginfo has:
DW_TAG_formal_parameter
DW_AT_abstract_origin (0x00003cfb "ptr")
DW_AT_location (
[0x0000000000000000, 0x0000000000000010): DW_OP_reg4 RSI
[0x0000000000000010, 0x000000000000007b): <decoding error> 01 54 9f)
Compiled with GCC 9:
DW_TAG_formal_parameter
DW_AT_abstract_origin (0x00003cfb "ptr")
DW_AT_location (
[0x0000000000000000, 0x0000000000000010): DW_OP_breg4 RSI+0
[0x0000000000000010, 0x000000000000007b): <decoding error> 01 54)
That's the only difference I see in the outputs of `llvm-dwarfdump --diff`.
More information about the Gcc-bugs
mailing list