Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[clang-repl] JIT unable to find __clang_Interpreter_SetValueNoAlloc #122397

Open
lz-bro opened this issue Jan 10, 2025 · 0 comments
Open

[clang-repl] JIT unable to find __clang_Interpreter_SetValueNoAlloc #122397

lz-bro opened this issue Jan 10, 2025 · 0 comments

Comments

@lz-bro
Copy link

lz-bro commented Jan 10, 2025

The output of running the test of clang/test/Interpreter/pretty-print.c

$ ./bin/llvm-lit -v /workspace/compiler/llvm/clang/test/Interpreter/pretty-print.c

llvm-lit: /workspace/compiler/llvm/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /workspace/compiler/llvm/build-19/bin/clang
-- Testing: 1 tests, 1 workers --
FAIL: Clang :: Interpreter/pretty-print.c (1 of 1)
******************** TEST 'Clang :: Interpreter/pretty-print.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 3: cat /workspace/compiler/llvm/clang/test/Interpreter/pretty-print.c | /workspace/compiler/llvm/build-19/bin/clang-repl -Xcc -xc  | /workspace/compiler/llvm/build-19/bin/FileCheck /workspace/compiler/llvm/clang/test/Interpreter/pretty-print.c
+ cat /workspace/compiler/llvm/clang/test/Interpreter/pretty-print.c
+ /workspace/compiler/llvm/build-19/bin/clang-repl -Xcc -xc
+ /workspace/compiler/llvm/build-19/bin/FileCheck /workspace/compiler/llvm/clang/test/Interpreter/pretty-print.c
JIT session error: Symbols not found: [ __clang_Interpreter_SetValueNoAlloc ]
error: Failed to materialize symbols: { (main, { $.incr_module_10.__inits.0, __orc_init_func.incr_module_10, c_str }) }
error: Failed to materialize symbols: { (main, { __orc_init_func.incr_module_10 }) }
/workspace/compiler/llvm/clang/test/Interpreter/pretty-print.c:11:11: error: CHECK: expected string not found in input
// CHECK: Not implement yet.
          ^
<stdin>:1:1: note: scanning from here
clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl>
^
<stdin>:1:135: note: possible intended match here
clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl>
                                                                                                                                      ^

Input file: <stdin>
Check file: /workspace/compiler/llvm/clang/test/Interpreter/pretty-print.c

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            1: clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl>
check:11'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
check:11'1                                                                                                                                           ?           possible intended match
>>>>>>

--

********************
********************
Failed Tests (1):
  Clang :: Interpreter/pretty-print.c


Testing Time: 0.10s

Total Discovered Tests: 1
  Failed: 1 (100.00%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants