[lld] [llvm] WIP - [DTLTO] terminology - use extraction rather than serialization (PR #208468)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 9 08:19:23 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 138260 tests passed
* 3534 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### lld
<details>
<summary>lld.ELF/dtlto/timetrace.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 6
rm -rf C:\_work\llvm-project\llvm-project\build\tools\lld\test\ELF\dtlto\Output\timetrace.test.tmp && split-file C:\_work\llvm-project\llvm-project\lld\test\ELF\dtlto\timetrace.test C:\_work\llvm-project\llvm-project\build\tools\lld\test\ELF\dtlto\Output\timetrace.test.tmp && cd C:\_work\llvm-project\llvm-project\build\tools\lld\test\ELF\dtlto\Output\timetrace.test.tmp
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\ELF\dtlto\Output\timetrace.test.tmp'
# note: command had no output on stdout or stderr
# executed command: split-file 'C:\_work\llvm-project\llvm-project\lld\test\ELF\dtlto\timetrace.test' 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\ELF\dtlto\Output\timetrace.test.tmp'
# note: command had no output on stdout or stderr
# executed command: cd 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\ELF\dtlto\Output\timetrace.test.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 8
sed 's/@t1/@t2/g' t1.ll > t2.ll
# executed command: sed s/@t1/@t2/g t1.ll
# note: command had no output on stdout or stderr
# RUN: at line 11
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -thinlto-bc t1.ll -o t1.bc
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -thinlto-bc t1.ll -o t1.bc
# note: command had no output on stdout or stderr
# RUN: at line 12
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -thinlto-bc t2.ll -o t2.bc
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -thinlto-bc t2.ll -o t2.bc
# note: command had no output on stdout or stderr
# RUN: at line 15
llvm-ar rcs t1.a t1.bc
# executed command: llvm-ar rcs t1.a t1.bc
# note: command had no output on stdout or stderr
# RUN: at line 16
llvm-ar rcsT t2.thin.a t2.bc
# executed command: llvm-ar rcsT t2.thin.a t2.bc
# note: command had no output on stdout or stderr
# RUN: at line 19
c:\_work\llvm-project\llvm-project\build\bin\llc.exe t1.ll --filetype=obj -o t1.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' t1.ll --filetype=obj -o t1.o
# note: command had no output on stdout or stderr
# RUN: at line 20
c:\_work\llvm-project\llvm-project\build\bin\llc.exe t2.ll --filetype=obj -o t2.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' t2.ll --filetype=obj -o t2.o
# note: command had no output on stdout or stderr
# RUN: at line 25
c:\_work\llvm-project\llvm-project\build\bin\ld.lld.exe --whole-archive t1.a t2.thin.a -o my.elf --thinlto-distributor="C:\Python312\python.exe" --thinlto-distributor-arg=C:\_work\llvm-project\llvm-project\llvm/utils/dtlto/mock.py --thinlto-distributor-arg=t1.o --thinlto-distributor-arg=t2.o --time-trace-granularity=0 --time-trace=C:\_work\llvm-project\llvm-project\build\tools\lld\test\ELF\dtlto\Output\timetrace.test.tmp.json
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\ld.lld.exe' --whole-archive t1.a t2.thin.a -o my.elf '--thinlto-distributor=C:\Python312\python.exe' '--thinlto-distributor-arg=C:\_work\llvm-project\llvm-project\llvm/utils/dtlto/mock.py' --thinlto-distributor-arg=t1.o --thinlto-distributor-arg=t2.o --time-trace-granularity=0 '--time-trace=C:\_work\llvm-project\llvm-project\build\tools\lld\test\ELF\dtlto\Output\timetrace.test.tmp.json'
# .---command stderr------------
# | ld.lld: warning: cannot find entry symbol _start; not setting start address
# `-----------------------------
# RUN: at line 30
"C:\Python312\python.exe" filter_order_and_pprint.py C:\_work\llvm-project\llvm-project\build\tools\lld\test\ELF\dtlto\Output\timetrace.test.tmp.json | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\lld\test\ELF\dtlto\timetrace.test
# executed command: 'C:\Python312\python.exe' filter_order_and_pprint.py 'C:\_work\llvm-project\llvm-project\build\tools\lld\test\ELF\dtlto\Output\timetrace.test.tmp.json'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\lld\test\ELF\dtlto\timetrace.test'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\lld\test\ELF\dtlto\timetrace.test:36:8: error: CHECK: expected string not found in input
# | CHECK: "name": "Extract bitcode input for DTLTO"
# | ^
# | <stdin>:9:40: note: scanning from here
# | {"name": "Remove DTLTO temporary files", "pid": 20172, "tid": 17208, "ts": 186330, "ph": "X", "dur": 380009}
# | ^
# | <stdin>:15:8: note: possible intended match here
# | {"name": "Total Extract bitcode input for DTLTO", "pid": 20172, "tid": 17223, "ph": "X", "ts": 0, "dur": 1251, "args": {"count": 1, "avg ms": 1}}
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\lld\test\ELF\dtlto\timetrace.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: {"name": "Add DTLTO files to the link", "pid": 20172, "tid": 17208, "ts": 185630, "ph": "X", "dur": 695}
# | 2: {"name": "Add input for DTLTO", "pid": 20172, "tid": 17208, "ts": 32266, "ph": "X", "dur": 435}
# | 3: {"name": "Add input for DTLTO", "pid": 20172, "tid": 17208, "ts": 32955, "ph": "X", "dur": 1157}
# | 4: {"name": "Emit DTLTO JSON", "pid": 20172, "tid": 17208, "ts": 38777, "ph": "X", "dur": 990}
# | 5: {"name": "Emit individual index for DTLTO", "pid": 20172, "tid": 17208, "ts": 35221, "ph": "X", "dur": 1155, "args": {"detail": "t1.a(t1.bc at 80).1.4ECC.1.20172.native.o.thinlto.bc"}}
# | 6: {"name": "Emit individual index for DTLTO", "pid": 20172, "tid": 17208, "ts": 36423, "ph": "X", "dur": 1058, "args": {"detail": "t2.2.20172.native.o.thinlto.bc"}}
# | 7: {"name": "Execute DTLTO distributor", "pid": 20172, "tid": 17208, "ts": 39774, "ph": "X", "dur": 145843, "args": {"detail": "C:\\Python312\\python.exe"}}
# | 8: {"name": "Extract bitcode input for DTLTO", "pid": 20172, "tid": 17208, "ts": 37514, "ph": "X", "dur": 1251, "args": {"detail": "t1.a(t1.bc at 80).1.4ECC.o"}}
# | 9: {"name": "Remove DTLTO temporary files", "pid": 20172, "tid": 17208, "ts": 186330, "ph": "X", "dur": 380009}
# | check:36'0 { search range start (exclusive)
# | check:36'1 error: no match found in search range
# | 10: {"name": "Total Add DTLTO files to the link", "pid": 20172, "tid": 17226, "ph": "X", "ts": 0, "dur": 694, "args": {"count": 1, "avg ms": 0}}
# | 11: {"name": "Total Add input for DTLTO", "pid": 20172, "tid": 17221, "ph": "X", "ts": 0, "dur": 1593, "args": {"count": 2, "avg ms": 0}}
# | 12: {"name": "Total Emit DTLTO JSON", "pid": 20172, "tid": 17224, "ph": "X", "ts": 0, "dur": 989, "args": {"count": 1, "avg ms": 0}}
# | 13: {"name": "Total Emit individual index for DTLTO", "pid": 20172, "tid": 17219, "ph": "X", "ts": 0, "dur": 2213, "args": {"count": 2, "avg ms": 1}}
# | 14: {"name": "Total Execute DTLTO distributor", "pid": 20172, "tid": 17213, "ph": "X", "ts": 0, "dur": 145842, "args": {"count": 1, "avg ms": 145}}
# | 15: {"name": "Total Extract bitcode input for DTLTO", "pid": 20172, "tid": 17223, "ph": "X", "ts": 0, "dur": 1251, "args": {"count": 1, "avg ms": 1}}
# | check:36'2 ? possible intended match
# | 16: {"name": "Total Remove DTLTO temporary files", "pid": 20172, "tid": 17212, "ph": "X", "ts": 0, "dur": 380009, "args": {"count": 1, "avg ms": 380}}
# | check:36'3 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/208468
More information about the llvm-commits
mailing list