[clang] [clang-repl] Lay the basic infrastructure for pretty printing of types (PR #148701)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Sat Jul 19 02:11:58 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-s390x-linux` running on `systemz-1` while building `clang` at step 5 "ninja check 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/42/builds/5414
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'Clang :: Interpreter/pretty-print.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/bin/clang-repl "int i = 10;" 'extern "C" int printf(const char*,...);' 'auto r1 = printf("i = %d\n", i);' | /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/bin/FileCheck --check-prefix=CHECK-DRIVER /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/clang/test/Interpreter/pretty-print.cpp # RUN: at line 1
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/bin/clang-repl 'int i = 10;' 'extern "C" int printf(const char*,...);' 'auto r1 = printf("i = %d\n", i);'
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/bin/FileCheck --check-prefix=CHECK-DRIVER /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/clang/test/Interpreter/pretty-print.cpp
cat /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/clang/test/Interpreter/pretty-print.cpp | /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/bin/clang-repl -Xcc -std=c++11 -Xcc -fno-delayed-template-parsing | /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/bin/FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/clang/test/Interpreter/pretty-print.cpp # RUN: at line 5
+ cat /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/clang/test/Interpreter/pretty-print.cpp
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/bin/clang-repl -Xcc -std=c++11 -Xcc -fno-delayed-template-parsing
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/bin/FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/clang/test/Interpreter/pretty-print.cpp
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/clang/test/Interpreter/pretty-print.cpp:33:16: error: CHECK-NEXT: expected string not found in input
// CHECK-NEXT: (Enum) (e2) : int -11
^
<stdin>:7:20: note: scanning from here
(S4) @0x2aa1929ba70
^
<stdin>:8:1: note: possible intended match here
(Enum) : int -1796534384
^
Input file: <stdin>
Check file: /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/clang/test/Interpreter/pretty-print.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: (const char[3]) "ab"
2: (char[2]) { '1', 'a' }
3: (char[3]) "1a"
4: (char[2][3][1]) { { { 'a' }, { 'b' }, { 'c' } }, { { 'd' }, { 'e' }, { 'f' } } }
5: (S3) @0x2aa192c48e0
6: (S3 &) @0x3ff94da4000
7: (S4) @0x2aa1929ba70
next:33'0 X error: no match found
8: (Enum) : int -1796534384
next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
next:33'1 ? possible intended match
9: (Enum) : int -1796534384
next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
10: (Color) : int -1796534384
next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
11: ((lambda) &) @0x3ff94af8000
next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12: ((lambda at input_line_46:1:1)) @0x2aa192ced80
next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13: (F<7>::(unnamed enum at input_line_49:1:27)) : unsigned int 2498432912
next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/148701
More information about the cfe-commits
mailing list