[libcxx-commits] [PATCH] D113597: [libcxx] Update width adjustment for __format_unsigned_integral

Brian Cain via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 10 16:04:40 PST 2021


androm3da added a comment.

Is the `gdb_pretty_printer_test` leveraging `__format_unsigned_integral()`?

Unfortunately it shows up as UNSUPPORTED when I test.  I only tried x86_64-unknown-linux-gnu.  Looks like I'll need to satisfy host-has-gdb-with-python to reproduce this?

  FAIL: /home/libcxx-builder/.buildkite-agent/builds/253dac57e677-1/llvm-project/libcxx-ci/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp:247
  GDB printed:
     'std::bitset<258u>'
  Value should match:
     'std::bitset<258(ul)?>'
  FAIL: /home/libcxx-builder/.buildkite-agent/builds/253dac57e677-1/llvm-project/libcxx-ci/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp:250
  GDB printed:
     'std::bitset<0u>'
  Value should match:
     'std::bitset<0(ul)?>'
  FAIL: /home/libcxx-builder/.buildkite-agent/builds/253dac57e677-1/llvm-project/libcxx-ci/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp:253
  GDB printed:
     'std::bitset<15u> = {[2] = 1, [3] = 1, [4] = 1, [5] = 1, [6] = 1, [7] = 1, [8] = 1, [9] = 1}'
  Value should match:
     'std::bitset<15(ul)?> = {\\[2\\] = 1, \\[3\\] = 1, \\[4\\] = 1, \\[5\\] = 1, \\[6\\] = 1, \\[7\\] = 1, \\[8\\] = 1, \\[9\\] = 1}'
  FAIL: /home/libcxx-builder/.buildkite-agent/builds/253dac57e677-1/llvm-project/libcxx-ci/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp:261
  GDB printed:
     'std::bitset<258u> = {[0] = 1, [129] = 1, [132] = 1}'
  Value should match:
     'std::bitset<258(ul)?> = {\\[0\\] = 1, \\[129\\] = 1, \\[132\\] = 1}'


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113597/new/

https://reviews.llvm.org/D113597



More information about the libcxx-commits mailing list