[lld] [lld-macho] Include ICF safe thunks in balanced partitioning (PR #212096)

via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 26 00:52:43 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 4086 tests passed
* 114 tests skipped
* 2 tests failed

## Failed Tests
(click on a test name to see its output)

### lld
<details>
<summary>lld.MachO/bp-section-orderer-safe-thunks.s</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/bp-section-orderer-safe-thunks.s.tmp && split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/MachO/bp-section-orderer-safe-thunks.s /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/bp-section-orderer-safe-thunks.s.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/bp-section-orderer-safe-thunks.s.tmp
# note: command had no output on stdout or stderr
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/MachO/bp-section-orderer-safe-thunks.s /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/bp-section-orderer-safe-thunks.s.tmp
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -filetype=obj -triple=arm64-apple-darwin /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/bp-section-orderer-safe-thunks.s.tmp/input.s -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/bp-section-orderer-safe-thunks.s.tmp/input.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -filetype=obj -triple=arm64-apple-darwin /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/bp-section-orderer-safe-thunks.s.tmp/input.s -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/bp-section-orderer-safe-thunks.s.tmp/input.o
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/bp-section-orderer-safe-thunks.s.tmp/profile.proftext -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/bp-section-orderer-safe-thunks.s.tmp/profile.profdata
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/bp-section-orderer-safe-thunks.s.tmp/profile.proftext -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/bp-section-orderer-safe-thunks.s.tmp/profile.profdata
# .---command stderr------------
# | warning: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/bp-section-orderer-safe-thunks.s.tmp/profile.proftext: truncated profile data
# | error: no profile can be merged
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>lld.MachO/eh-frame-ordering.s</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 9
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -filetype=obj -emit-compact-unwind-non-canonical=true -triple=x86_64-apple-macos10.15 /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/MachO/eh-frame-ordering.s -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/eh-frame-ordering.s.tmp-x86_64.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -filetype=obj -emit-compact-unwind-non-canonical=true -triple=x86_64-apple-macos10.15 /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/MachO/eh-frame-ordering.s -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/eh-frame-ordering.s.tmp-x86_64.o
# note: command had no output on stdout or stderr
# RUN: at line 10
ld64.lld -arch x86_64 -platform_version macos 11.0 11.0 -syslibroot /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/MachO/Inputs/MacOSX.sdk -lSystem -fatal_warnings -lSystem -lc++ /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/eh-frame-ordering.s.tmp-x86_64.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/eh-frame-ordering.s.tmp-x86_64 --bp-compression-sort=both
# executed command: ld64.lld -arch x86_64 -platform_version macos 11.0 11.0 -syslibroot /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/MachO/Inputs/MacOSX.sdk -lSystem -fatal_warnings -lSystem -lc++ /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/eh-frame-ordering.s.tmp-x86_64.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/eh-frame-ordering.s.tmp-x86_64 --bp-compression-sort=both
# note: command had no output on stdout or stderr
# RUN: at line 11
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-objdump --dwarf=frames /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/eh-frame-ordering.s.tmp-x86_64 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/MachO/eh-frame-ordering.s --implicit-check-not=error --implicit-check-not=warning
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-objdump --dwarf=frames /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/eh-frame-ordering.s.tmp-x86_64
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/MachO/eh-frame-ordering.s --implicit-check-not=error --implicit-check-not=warning
# .---command stderr------------
# | command line:1:22: error: IMPLICIT-CHECK-NOT: excluded string found in input
# | -implicit-check-not='error'
# |                      ^
# | <stdin>:1:1: note: found here
# | error: parsing FDE data at 0x0 failed due to missing CIE
# | ^~~~~
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/MachO/eh-frame-ordering.s
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: error: parsing FDE data at 0x0 failed due to missing CIE 
# | not:imp1'0    {                                                           search range start (exclusive)
# | not:imp1'1     !~~~~                                                      error: no match expected
# |             2:  
# |             3: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/MachO/Output/eh-frame-ordering.s.tmp-x86_64: file format mach-o 64-bit x86-64 
# |             4:  
# |             5: .debug_frame contents: 
# |             6:  
# |             7:  
# | not:imp1'2      } search range end (exclusive)
# |             8: .eh_frame contents: 
# | >>>>>>
# `-----------------------------
# 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/212096


More information about the llvm-commits mailing list