[llvm-branch-commits] [llvm] [dsymutil] Support compilation-prefix-map.json from compilation caching (PR #242436)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sat Nov 14 01:11:20 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 148751 tests passed
* 2301 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.tools/dsymutil/X86/compilation-prefix-map.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 4
rm -rf C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\compilation-prefix-map.test.tmp.dir
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\compilation-prefix-map.test.tmp.dir'
# note: command had no output on stdout or stderr
# RUN: at line 5
mkdir -p C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\compilation-prefix-map.test.tmp.dir/build/Objects
# executed command: mkdir -p 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\compilation-prefix-map.test.tmp.dir/build/Objects'
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe -triple x86_64-apple-macos -filetype=obj -o C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\compilation-prefix-map.test.tmp.dir/build/Objects/1.o C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86/../Inputs/compilation-prefix-map.s
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe' -triple x86_64-apple-macos -filetype=obj -o 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\compilation-prefix-map.test.tmp.dir/build/Objects/1.o' 'C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86/../Inputs/compilation-prefix-map.s'
# note: command had no output on stdout or stderr
# RUN: at line 8
echo '{"/^src": "/src", "/^sdk": "/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"}' > C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\compilation-prefix-map.test.tmp.dir/build/compilation-prefix-map.json
# executed command: echo '{"/^src": "/src", "/^sdk": "/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"}'
# note: command had no output on stdout or stderr
# RUN: at line 14
c:\_work\llvm-project\llvm-project\build\bin\dsymutil.exe --linker classic -oso-prepend-path C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\compilation-prefix-map.test.tmp.dir -y C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\compilation-prefix-map.test -o C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\compilation-prefix-map.test.tmp.dir/classic.dSYM
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\dsymutil.exe' --linker classic -oso-prepend-path 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\compilation-prefix-map.test.tmp.dir' -y 'C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\compilation-prefix-map.test' -o 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\compilation-prefix-map.test.tmp.dir/classic.dSYM'
# note: command had no output on stdout or stderr
# RUN: at line 16
c:\_work\llvm-project\llvm-project\build\bin\llvm-dwarfdump.exe -a -v C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\compilation-prefix-map.test.tmp.dir/classic.dSYM | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\compilation-prefix-map.test --check-prefixes=CHECK,CLASSIC --implicit-check-not=/^
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-dwarfdump.exe' -a -v 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\compilation-prefix-map.test.tmp.dir/classic.dSYM'
# 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\llvm\test\tools\dsymutil\X86\compilation-prefix-map.test' --check-prefixes=CHECK,CLASSIC '--implicit-check-not=/^'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\compilation-prefix-map.test:39:10: error: CHECK: expected string not found in input
# | # CHECK: include_directories[ 1] = .debug_line_str[{{.*}}] = "/src{{[/\\]}}include"
# | ^
# | <stdin>:146:63: note: scanning from here
# | include_directories[ 0] = .debug_line_str[0x00000000] = "/src"
# | ^
# | <stdin>:147:1: note: possible intended match here
# | include_directories[ 1] = .debug_line_str[0x00000005] = "/src\\include"
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\compilation-prefix-map.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 141: standard_opcode_lengths[DW_LNS_const_add_pc] = 0
# | 142: standard_opcode_lengths[DW_LNS_fixed_advance_pc] = 1
# | 143: standard_opcode_lengths[DW_LNS_set_prologue_end] = 0
# | 144: standard_opcode_lengths[DW_LNS_set_epilogue_begin] = 0
# | 145: standard_opcode_lengths[DW_LNS_set_isa] = 1
# | 146: include_directories[ 0] = .debug_line_str[0x00000000] = "/src"
# | check:39'0 { search range start (exclusive)
# | check:39'1 error: no match found in search range
# | 147: include_directories[ 1] = .debug_line_str[0x00000005] = "/src\\include"
# | check:39'2 ? possible intended match
# | 148: file_names[ 0]:
# | 149: name: .debug_line_str[0x00000012] = "main.cpp"
# | 150: dir_index: 0
# | 151: file_names[ 1]:
# | 152: name: .debug_line_str[0x0000001b] = "foo.h"
# | .
# | .
# | .
# | 271: DW_IDX_die_offset: 0x00000040
# | 272: DW_IDX_parent: <parent not indexed>
# | 273: }
# | 274: }
# | 275: ]
# | 276: }
# | check:39'3 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.tools/dsymutil/X86/swift-interface-prefix-map.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 5
rm -rf C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir'
# note: command had no output on stdout or stderr
# RUN: at line 6
mkdir -p C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/build/Objects
# executed command: mkdir -p 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/build/Objects'
# note: command had no output on stdout or stderr
# RUN: at line 7
c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe -triple x86_64-apple-macos -filetype=obj -o C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/build/Objects/1.o C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86/../Inputs/swift-interface-prefix-map.s
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe' -triple x86_64-apple-macos -filetype=obj -o 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/build/Objects/1.o' 'C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86/../Inputs/swift-interface-prefix-map.s'
# note: command had no output on stdout or stderr
# RUN: at line 9
echo '{"/^src": "/src", "/^sdk": "/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk", "/^xcode": "/Xcode.app/Contents/Developer", "/^toolchain": "/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain"}' > C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/build/compilation-prefix-map.json
# executed command: echo '{"/^src": "/src", "/^sdk": "/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk", "/^xcode": "/Xcode.app/Contents/Developer", "/^toolchain": "/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain"}'
# note: command had no output on stdout or stderr
# RUN: at line 14
c:\_work\llvm-project\llvm-project\build\bin\dsymutil.exe --linker classic -oso-prepend-path C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir -y C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test -o C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/classic.dSYM 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test --check-prefix=MISSING --implicit-check-not=interface
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\dsymutil.exe' --linker classic -oso-prepend-path 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir' -y 'C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test' -o 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/classic.dSYM'
# 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\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test' --check-prefix=MISSING --implicit-check-not=interface
# note: command had no output on stdout or stderr
# RUN: at line 17
c:\_work\llvm-project\llvm-project\build\bin\dsymutil.exe --linker parallel -oso-prepend-path C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir -y C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test -o C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/parallel.dSYM 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test --check-prefix=MISSING --implicit-check-not=interface
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\dsymutil.exe' --linker parallel -oso-prepend-path 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir' -y 'C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test' -o 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/parallel.dSYM'
# 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\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test' --check-prefix=MISSING --implicit-check-not=interface
# note: command had no output on stdout or stderr
# RUN: at line 24
mkdir -p C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/src/Foo C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/src/Bar
# executed command: mkdir -p 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/src/Foo' 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/src/Bar'
# note: command had no output on stdout or stderr
# RUN: at line 25
echo "// module Foo" > C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/src/Foo/x86_64.swiftinterface
# executed command: echo '// module Foo'
# note: command had no output on stdout or stderr
# RUN: at line 26
echo "// module Bar" > C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/src/Bar/x86_64.swiftinterface
# executed command: echo '// module Bar'
# note: command had no output on stdout or stderr
# RUN: at line 27
rm -rf C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/classic.dSYM C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/parallel.dSYM
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/classic.dSYM' 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/parallel.dSYM'
# note: command had no output on stdout or stderr
# RUN: at line 28
c:\_work\llvm-project\llvm-project\build\bin\dsymutil.exe --linker classic -oso-prepend-path C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir -y C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test -o C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/classic.dSYM 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\count.exe 0
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\dsymutil.exe' --linker classic -oso-prepend-path 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir' -y 'C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test' -o 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/classic.dSYM'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\count.exe' 0
# note: command had no output on stdout or stderr
# RUN: at line 30
ls C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/classic.dSYM/Contents/Resources/Swift/x86_64 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test --check-prefix=COPIED --implicit-check-not=interface
# executed command: ls 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/classic.dSYM/Contents/Resources/Swift/x86_64'
# 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\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test' --check-prefix=COPIED --implicit-check-not=interface
# note: command had no output on stdout or stderr
# RUN: at line 32
c:\_work\llvm-project\llvm-project\build\bin\dsymutil.exe --linker parallel -oso-prepend-path C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir -y C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test -o C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/parallel.dSYM 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\count.exe 0
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\dsymutil.exe' --linker parallel -oso-prepend-path 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir' -y 'C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test' -o 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/parallel.dSYM'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\count.exe' 0
# note: command had no output on stdout or stderr
# RUN: at line 34
ls C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/parallel.dSYM/Contents/Resources/Swift/x86_64 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test --check-prefix=COPIED --implicit-check-not=interface
# executed command: ls 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/parallel.dSYM/Contents/Resources/Swift/x86_64'
# 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\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test' --check-prefix=COPIED --implicit-check-not=interface
# note: command had no output on stdout or stderr
# RUN: at line 41
c:\_work\llvm-project\llvm-project\build\bin\llvm-dwarfdump.exe -a C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/classic.dSYM | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test --check-prefix=DWARF --implicit-check-not=/^
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-dwarfdump.exe' -a 'C:\_work\llvm-project\llvm-project\build\test\tools\dsymutil\X86\Output\swift-interface-prefix-map.test.tmp.dir/classic.dSYM'
# 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\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test' --check-prefix=DWARF '--implicit-check-not=/^'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test:50:15: error: DWARF-NEXT: expected string not found in input
# | # DWARF-NEXT: DW_AT_LLVM_include_path ("/src{{[/\\]}}Foo{{[/\\]}}x86_64.swiftinterface")
# | ^
# | <stdin>:61:20: note: scanning from here
# | DW_AT_name ("Foo")
# | ^
# | <stdin>:62:2: note: possible intended match here
# | DW_AT_LLVM_include_path ("/src\\Foo/x86_64.swiftinterface")
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\tools\dsymutil\X86\swift-interface-prefix-map.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 56: DW_AT_decl_file ("/src\main.swift")
# | 57: DW_AT_decl_line (1)
# | 58: DW_AT_external (true)
# | 59:
# | 60: 0x00000048: DW_TAG_module
# | 61: DW_AT_name ("Foo")
# | next:50'0 { search range start (exclusive)
# | next:50'1 error: no match found in search range
# | 62: DW_AT_LLVM_include_path ("/src\\Foo/x86_64.swiftinterface")
# | next:50'2 ? possible intended match
# | 63:
# | 64: 0x00000051: DW_TAG_imported_module
# | 65: DW_AT_import (0x0000000000000048 "Foo")
# | 66:
# | 67: 0x00000056: DW_TAG_module
# | .
# | .
# | .
# | 256: Form: DW_FORM_data4
# | 257: }
# | 258: ]
# | 259: Bucket 0 [
# | 260: EMPTY
# | 261: ]
# | next:50'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/242436
More information about the llvm-branch-commits
mailing list