[llvm] [Orc] Let LLJIT default to JITLink for ELF-based ARM targets (PR #77313)
Stefan Gränitz via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 23 09:25:58 PST 2024
weliveindetail wrote:
Test working as well with armv6 target:
```
$ bin/llvm-lit --filter=Interpreter tools/clang/test
-- Testing: 22 of 18430 tests, 4 workers --
PASS: Clang :: Interpreter/lambda.cpp (1 of 22)
PASS: Clang :: Interpreter/execute-stmts.cpp (2 of 22)
PASS: Clang :: Interpreter/execute.cpp (3 of 22)
PASS: Clang :: Interpreter/const.cpp (4 of 22)
PASS: Clang :: Interpreter/fail.cpp (5 of 22)
PASS: Clang :: Interpreter/execute-weak.cpp (6 of 22)
PASS: Clang :: Interpreter/code-undo.cpp (7 of 22)
XFAIL: Clang :: Interpreter/simple-exception.cpp (8 of 22)
PASS: Clang :: Interpreter/global-dtor.cpp (9 of 22)
PASS: Clang :: Interpreter/inline-virtual.cpp (10 of 22)
PASS: Clang :: Interpreter/disambiguate-decl-stmt.cpp (11 of 22)
PASS: Clang :: Interpreter/stmt-serialization.cpp (12 of 22)
UNSUPPORTED: Clang :: Interpreter/dynamic-library.cpp (13 of 22)
UNSUPPORTED: Clang :: Interpreter/plugins.cpp (14 of 22)
UNSUPPORTED: Clang :: Interpreter/CUDA/device-function.cu (15 of 22)
UNSUPPORTED: Clang :: Interpreter/CUDA/memory.cu (16 of 22)
UNSUPPORTED: Clang :: Interpreter/CUDA/device-function-template.cu (17 of 22)
UNSUPPORTED: Clang :: Interpreter/CUDA/sanity.cu (18 of 22)
UNSUPPORTED: Clang :: Interpreter/CUDA/host-and-device.cu (19 of 22)
PASS: Clang :: Interpreter/multiline.cpp (20 of 22)
PASS: Clang :: Interpreter/incremental-mode.cpp (21 of 22)
PASS: Clang :: Interpreter/sanity.c (22 of 22)
Testing Time: 22.43s
Total Discovered Tests: 18430
Excluded : 18408 (99.88%)
Unsupported : 7 (0.04%)
Passed : 14 (0.08%)
Expectedly Failed: 1 (0.01%)
1 warning(s) in tests
```
This is using the pre-v7 config:
```
$ cat ../clang/test/Interpreter/inline-virtual.cpp | bin/clang-repl -Xcc -fno-rtti --debug-only=jitlink 2>&1 | grep aarch32 | head -3
Created __llvm_jitlink_aarch32_STUBS_prev7 entry for __cxa_begin_catch: 0x0 (block + 0x00000000): size: 0x00000008, linkage: strong, scope: local, dead - <anonymous symbol>
Using __llvm_jitlink_aarch32_STUBS_prev7 entry 0x0 (block + 0x00000000): size: 0x00000008, linkage: strong, scope: local, dead - <anonymous symbol>
Created __llvm_jitlink_aarch32_STUBS_prev7 entry for _ZSt9terminatev: 0x0 (block + 0x00000000): size: 0x00000008, linkage: strong, scope: local, dead - <anonymous symbol>
```
https://github.com/llvm/llvm-project/pull/77313
More information about the llvm-commits
mailing list