[llvm] MIPS: Adding a check for JAL argument in PIC mode to prevent crashing on getExpr (PR #120356)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 22 18:38:06 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/10530
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: ExecutionEngine/JITLink/x86-64/LocalDependencyPropagation.s' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj -o /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/ExecutionEngine/JITLink/x86-64/Output/LocalDependencyPropagation.s.tmp /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/LocalDependencyPropagation.s
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj -o /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/ExecutionEngine/JITLink/x86-64/Output/LocalDependencyPropagation.s.tmp /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/LocalDependencyPropagation.s
RUN: at line 3: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llvm-jitlink -debug-only=orc -noexec -abs _external_func=0x1 -entry=_foo /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/ExecutionEngine/JITLink/x86-64/Output/LocalDependencyPropagation.s.tmp 2>&1 | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/LocalDependencyPropagation.s
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/LocalDependencyPropagation.s
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llvm-jitlink -debug-only=orc -noexec -abs _external_func=0x1 -entry=_foo /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/ExecutionEngine/JITLink/x86-64/Output/LocalDependencyPropagation.s.tmp
[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/LocalDependencyPropagation.s:14:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: is not on the line after the previous match
[0m# CHECK-NEXT: Initial dependencies:
[0;1;32m ^
[0m[1m<stdin>:79:20: [0m[0;1;30mnote: [0m[1m'next' match was here
[0m}, Dependencies: { Initial dependencies:
[0;1;32m ^
[0m[1m<stdin>:77:86: [0m[0;1;30mnote: [0m[1mprevious match ended here
[0mIn main emitting { ("_foo", [Callable]), ("_baz", [Callable] Simplified dependencies:
[0;1;32m ^
[0m[1m<stdin>:78:1: [0m[0;1;30mnote: [0m[1mnon-matching line after previous match is here
[0m) Symbols: { _external_func}
[0;1;32m^
[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/LocalDependencyPropagation.s
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46mDefining MU <Absolute Symbols> for main (tracker: 0x0, default will be used) [0m
[0;1;30m 2: [0m[1m[0;1;46m { ("_external_func", [Data]) } [0m
[0;1;30m 3: [0m[1m[0;1;46mDefining MU /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/ExecutionEngine/JITLink/x86-64/Output/LocalDependencyPropagation.s.tmp for main (tracker: default) { ("_foo", [Callable]), ("_baz", [Callable]) } [0m
[0;1;30m 4: [0m[1m[0;1;46mLooking up { (_foo, RequiredSymbol) } in [ ("main", MatchAllSymbols), ("Process", MatchExportedSymbolsOnly) ] (required state: Ready) [0m
[0;1;30m 5: [0m[1m[0;1;46mDispatching MaterializationUnits... [0m
[0;1;30m 6: [0m[1m[0;1;46mDone dispatching MaterializationUnits. [0m
[0;1;30m 7: [0m[1m[0;1;46mEntering OL_applyQueryPhase1: [0m
[0;1;30m 8: [0m[1m[0;1;46m Lookup kind: Static [0m
[0;1;30m 9: [0m[1m[0;1;46m Search order: [ ("main", MatchAllSymbols), ("Process", MatchExportedSymbolsOnly) ], Current index = 0 (entering new JITDylib) [0m
[0;1;30m 10: [0m[1m[0;1;46m Lookup set: { (_foo, RequiredSymbol) } [0m
[0;1;30m 11: [0m[1m[0;1;46m Definition generator candidates: { (_foo, RequiredSymbol) } [0m
[0;1;30m 12: [0m[1m[0;1;46m Definition generator non-candidates: { } [0m
[0;1;30m 13: [0m[1m[0;1;46mVisiting "main" (MatchAllSymbols) with lookup set { (_foo, RequiredSymbol) }: [0m
[0;1;30m 14: [0m[1m[0;1;46m First time visiting main, resetting candidate sets and building generator stack [0m
[0;1;30m 15: [0m[1m[0;1;46m Updating candidate set... [0m
[0;1;30m 16: [0m[1m[0;1;46m Remaining candidates = { } [0m
[0;1;30m 17: [0m[1m[0;1;46m No generators to run for this JITDylib. [0m
[0;1;30m 18: [0m[1m[0;1;46mAll symbols matched. [0m
[0;1;30m 19: [0m[1m[0;1;46mPhase 1 succeeded. [0m
[0;1;30m 20: [0m[1m[0;1;46mEntering OL_completeLookup: [0m
...
```
</details>
https://github.com/llvm/llvm-project/pull/120356
More information about the llvm-commits
mailing list