Skip to content

libc++ :: libcxx/gdb/gdb_pretty_printer_test.sh.cpp test fails with 12.0.0-rc1 #48281

@llvmbot

Description

@llvmbot
Bugzilla Link 48937
Resolution FIXED
Resolved on Jun 08, 2021 16:17
Version unspecified
OS Linux
Blocks #48661
Attachments gdb-failure.txt
Reporter LLVM Bugzilla Contributor
CC @mkurdej,@dwblaikie,@MaskRay,@ldionne,@mclow,@tstellar
Fixed by commit(s) a34b8b8 9ac988f 55b7061 0e83780 cde8663 cf3e126 bf25180 1539c54

Extended Description

Please see the attached output. It seems that there's a major API mis-sync here.

For example:

FAIL: /tmp/portage/sys-libs/libcxx-12.0.0_rc1/work/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp:217
GDB printed:
'std::tuple containingTraceback (most recent call last):\n File "/tmp/portage/sys-libs/libcxx-12.0.0_rc1/work/libcxx/test/libcxx/gdb/../../../utils/gdb/libcxx/printers.py", line 144, in next\n field_name = self.child_iter.next()\nAttributeError: 'list_iterator' object has no attribute 'next'\n'
Value should match:
'std::tuple containing = {[1] = 2, [2] = 3, [3] = 4}'

Apparently this test has been considered UNSUPPORTED in 11.1.0_rc2 but it is being run in 12.0.0_rc1.

Metadata

Metadata

Assignees

Labels

bugzillaIssues migrated from bugzillalibc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions