[lld] [ELF] Change Ctx::target to unique_ptr (PR #111260)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 6 22:41:54 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-fast` running on `sanitizer-buildbot4` while building `lld` at step 2 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/169/builds/4021
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 86099 of 86100 tests, 88 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.
FAIL: lld :: ELF/aarch64-thunk-bti.s (14462 of 86099)
******************** TEST 'lld :: ELF/aarch64-thunk-bti.s' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: rm -rf /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/lld/test/ELF/Output/aarch64-thunk-bti.s.tmp && split-file /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-thunk-bti.s /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/lld/test/ELF/Output/aarch64-thunk-bti.s.tmp && cd /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/lld/test/ELF/Output/aarch64-thunk-bti.s.tmp
+ rm -rf /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/lld/test/ELF/Output/aarch64-thunk-bti.s.tmp
+ split-file /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-thunk-bti.s /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/lld/test/ELF/Output/aarch64-thunk-bti.s.tmp
+ cd /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/lld/test/ELF/Output/aarch64-thunk-bti.s.tmp
RUN: at line 3: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-mc -filetype=obj -triple=aarch64 asm -o a.o
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-mc -filetype=obj -triple=aarch64 asm -o a.o
RUN: at line 4: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld --threads=1 --shared --script=lds a.o -o out.so --defsym absolute=0xf0000000
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld --threads=1 --shared --script=lds a.o -o out.so --defsym absolute=0xf0000000
RUN: at line 5: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-objdump -d --no-show-raw-insn out.so | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-thunk-bti.s
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-objdump -d --no-show-raw-insn out.so
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-thunk-bti.s
RUN: at line 6: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-objdump -d --no-show-raw-insn out.so | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-thunk-bti.s --check-prefix=CHECK-PADS
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-objdump -d --no-show-raw-insn out.so
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-thunk-bti.s --check-prefix=CHECK-PADS
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-thunk-bti.s:250:21: error: CHECK-PADS-NEXT: expected string not found in input
// CHECK-PADS-NEXT: udf #0x0
^
<stdin>:100:29: note: scanning from here
18001048: b 0x18001050 <fn4>
^
<stdin>:103:1: note: possible intended match here
0000000018001050 <fn4>:
^
Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-thunk-bti.s
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
Step 9 (stage2/asan_ubsan check) failure: stage2/asan_ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 86099 of 86100 tests, 88 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.
FAIL: lld :: ELF/aarch64-thunk-bti.s (14462 of 86099)
******************** TEST 'lld :: ELF/aarch64-thunk-bti.s' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: rm -rf /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/lld/test/ELF/Output/aarch64-thunk-bti.s.tmp && split-file /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-thunk-bti.s /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/lld/test/ELF/Output/aarch64-thunk-bti.s.tmp && cd /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/lld/test/ELF/Output/aarch64-thunk-bti.s.tmp
+ rm -rf /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/lld/test/ELF/Output/aarch64-thunk-bti.s.tmp
+ split-file /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-thunk-bti.s /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/lld/test/ELF/Output/aarch64-thunk-bti.s.tmp
+ cd /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/tools/lld/test/ELF/Output/aarch64-thunk-bti.s.tmp
RUN: at line 3: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-mc -filetype=obj -triple=aarch64 asm -o a.o
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-mc -filetype=obj -triple=aarch64 asm -o a.o
RUN: at line 4: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld --threads=1 --shared --script=lds a.o -o out.so --defsym absolute=0xf0000000
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld --threads=1 --shared --script=lds a.o -o out.so --defsym absolute=0xf0000000
RUN: at line 5: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-objdump -d --no-show-raw-insn out.so | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-thunk-bti.s
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-objdump -d --no-show-raw-insn out.so
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-thunk-bti.s
RUN: at line 6: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-objdump -d --no-show-raw-insn out.so | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-thunk-bti.s --check-prefix=CHECK-PADS
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llvm-objdump -d --no-show-raw-insn out.so
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-thunk-bti.s --check-prefix=CHECK-PADS
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-thunk-bti.s:250:21: error: CHECK-PADS-NEXT: expected string not found in input
// CHECK-PADS-NEXT: udf #0x0
^
<stdin>:100:29: note: scanning from here
18001048: b 0x18001050 <fn4>
^
<stdin>:103:1: note: possible intended match here
0000000018001050 <fn4>:
^
Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-thunk-bti.s
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
Step 12 (stage2/msan check) failure: stage2/msan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 86098 tests, 88 workers --
Testing: 0.. 10.. 20.. 30..
FAIL: lld :: ELF/aarch64-cortex-a53-843419-thunk-range.s (1303 of 86098)
******************** TEST 'lld :: ELF/aarch64-cortex-a53-843419-thunk-range.s' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: split-file /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-cortex-a53-843419-thunk-range.s /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/Output/aarch64-cortex-a53-843419-thunk-range.s.tmp
+ split-file /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-cortex-a53-843419-thunk-range.s /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/Output/aarch64-cortex-a53-843419-thunk-range.s.tmp
RUN: at line 3: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llvm-mc -filetype=obj -triple=aarch64 --asm-macro-max-nesting-depth=40000 /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/Output/aarch64-cortex-a53-843419-thunk-range.s.tmp/asm -o /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/Output/aarch64-cortex-a53-843419-thunk-range.s.tmp.o
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llvm-mc -filetype=obj -triple=aarch64 --asm-macro-max-nesting-depth=40000 /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/Output/aarch64-cortex-a53-843419-thunk-range.s.tmp/asm -o /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/Output/aarch64-cortex-a53-843419-thunk-range.s.tmp.o
RUN: at line 4: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld.lld -T /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/Output/aarch64-cortex-a53-843419-thunk-range.s.tmp/lds -fix-cortex-a53-843419 /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/Output/aarch64-cortex-a53-843419-thunk-range.s.tmp.o -o /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/Output/aarch64-cortex-a53-843419-thunk-range.s.tmp2 --print-map 2>&1 | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-cortex-a53-843419-thunk-range.s
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/aarch64-cortex-a53-843419-thunk-range.s
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld.lld -T /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/Output/aarch64-cortex-a53-843419-thunk-range.s.tmp/lds -fix-cortex-a53-843419 /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/Output/aarch64-cortex-a53-843419-thunk-range.s.tmp.o -o /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/Output/aarch64-cortex-a53-843419-thunk-range.s.tmp2 --print-map
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50
FAIL: lld :: ELF/riscv-attributes.s (2413 of 86098)
******************** TEST 'lld :: ELF/riscv-attributes.s' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 3: rm -rf /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/Output/riscv-attributes.s.tmp && split-file /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/riscv-attributes.s /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/Output/riscv-attributes.s.tmp && cd /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/Output/riscv-attributes.s.tmp
+ rm -rf /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/Output/riscv-attributes.s.tmp
+ split-file /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/lld/test/ELF/riscv-attributes.s /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/Output/riscv-attributes.s.tmp
+ cd /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/lld/test/ELF/Output/riscv-attributes.s.tmp
RUN: at line 4: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llvm-mc -filetype=obj -triple=riscv64 a.s -o a.o
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llvm-mc -filetype=obj -triple=riscv64 a.s -o a.o
RUN: at line 5: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld.lld -e 0 a.o -o out 2>&1 | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/count 0
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/count 0
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld.lld -e 0 a.o -o out
Expected 0 lines, got 22.
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50
```
</details>
https://github.com/llvm/llvm-project/pull/111260
More information about the llvm-commits
mailing list