[llvm] [dsymutil] Add option to copy swiftmodules built from interface (PR #165293)

Roy Shi via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 27 13:59:36 PDT 2025


royitaqi wrote:

A test failed when running `ninja check-llvm`. The same test seems to also fail on master (I'm on commit 263377a17570e1cbe6eeae9ffa5ce02f240839ef). So I assume it's unrelated to this patch.


```
royshi-mac-office ~/public_llvm/build % ninja check-llvm
[142/143] Running the LLVM regression tests
FAIL: LLVM :: tools/llvm-objcopy/ELF/strip-preserve-atime.test (1 of 60742)
******************** TEST 'LLVM :: tools/llvm-objcopy/ELF/strip-preserve-atime.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 9
/Users/royshi/public_llvm/build/bin/yaml2obj /Users/royshi/public_llvm/llvm-project/llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test -o /Users/royshi/public_llvm/build/test/tools/llvm-objcopy/ELF/Output/strip-preserve-atime.test.tmp.1.o
# executed command: /Users/royshi/public_llvm/build/bin/yaml2obj /Users/royshi/public_llvm/llvm-project/llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test -o /Users/royshi/public_llvm/build/test/tools/llvm-objcopy/ELF/Output/strip-preserve-atime.test.tmp.1.o
# RUN: at line 10
touch -a -t 199505050555.55 /Users/royshi/public_llvm/build/test/tools/llvm-objcopy/ELF/Output/strip-preserve-atime.test.tmp.1.o
# executed command: touch -a -t 199505050555.55 /Users/royshi/public_llvm/build/test/tools/llvm-objcopy/ELF/Output/strip-preserve-atime.test.tmp.1.o
# RUN: at line 11
/Users/royshi/public_llvm/build/bin/llvm-strip -p /Users/royshi/public_llvm/build/test/tools/llvm-objcopy/ELF/Output/strip-preserve-atime.test.tmp.1.o -o /Users/royshi/public_llvm/build/test/tools/llvm-objcopy/ELF/Output/strip-preserve-atime.test.tmp-preserved.1.o
# executed command: /Users/royshi/public_llvm/build/bin/llvm-strip -p /Users/royshi/public_llvm/build/test/tools/llvm-objcopy/ELF/Output/strip-preserve-atime.test.tmp.1.o -o /Users/royshi/public_llvm/build/test/tools/llvm-objcopy/ELF/Output/strip-preserve-atime.test.tmp-preserved.1.o
# RUN: at line 12
ls -lu /Users/royshi/public_llvm/build/test/tools/llvm-objcopy/ELF/Output/strip-preserve-atime.test.tmp-preserved.1.o | /Users/royshi/public_llvm/build/bin/FileCheck /Users/royshi/public_llvm/llvm-project/llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test --check-prefix=CHECK-PRESERVE-ATIME
# executed command: ls -lu /Users/royshi/public_llvm/build/test/tools/llvm-objcopy/ELF/Output/strip-preserve-atime.test.tmp-preserved.1.o
# executed command: /Users/royshi/public_llvm/build/bin/FileCheck /Users/royshi/public_llvm/llvm-project/llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test --check-prefix=CHECK-PRESERVE-ATIME
# .---command stderr------------
# | /Users/royshi/public_llvm/llvm-project/llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test:55:25: error: CHECK-PRESERVE-ATIME: expected string not found in input
# | # CHECK-PRESERVE-ATIME: {{[[:space:]]1995}}
# |                         ^
# | <stdin>:1:1: note: scanning from here
# | -rw-r--r--@ 1 royshi staff 280 Oct 27 13:51 /Users/royshi/public_llvm/build/test/tools/llvm-objcopy/ELF/Output/strip-preserve-atime.test.tmp-preserved.1.o
# | ^
# | <stdin>:1:142: note: possible intended match here
# | -rw-r--r--@ 1 royshi staff 280 Oct 27 13:51 /Users/royshi/public_llvm/build/test/tools/llvm-objcopy/ELF/Output/strip-preserve-atime.test.tmp-preserved.1.o
# |                                                                                                                                              ^
# |
# | Input file: <stdin>
# | Check file: /Users/royshi/public_llvm/llvm-project/llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# |             1: -rw-r--r--@ 1 royshi staff 280 Oct 27 13:51 /Users/royshi/public_llvm/build/test/tools/llvm-objcopy/ELF/Output/strip-preserve-atime.test.tmp-preserved.1.o
# | check:55'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:55'1                                                                                                                                                  ?              possible intended match
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

********************
```

https://github.com/llvm/llvm-project/pull/165293


More information about the llvm-commits mailing list