[clang] [llvm] [MFS] Implement -fsplit-machine-functions for Mach-O (ARM64) (PR #179449)

via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 3 05:03:55 PST 2026


github-actions[bot] wrote:

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

* 169117 tests passed
* 3028 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AArch64/split-machine-functions-macho.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/split-machine-functions-macho.ll -mtriple=arm64-apple-macos -split-machine-functions | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/split-machine-functions-macho.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=arm64-apple-macos -split-machine-functions
# .---command stderr------------
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0.	Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=arm64-apple-macos -split-machine-functions
# | 1.	Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'AArch64 Assembly Printer' on function '@foo'
# |  #0 0x0000000007fe4a68 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
# |  #1 0x0000000007fe2195 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x0000000007fe5831 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
# |  #3 0x00007d4612104330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x0000000007661b58 getSegmentName /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCSectionMachO.h:51:9
# |  #5 0x0000000007661b58 llvm::MCAsmInfoDarwin::printSwitchToSection(llvm::MCSection const&, unsigned int, llvm::Triple const&, llvm::raw_ostream&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/MC/MCSectionMachO.cpp:113:31
# |  #6 0x000000000761415f (anonymous namespace)::MCAsmStreamer::switchSection(llvm::MCSection*, unsigned int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/MC/MCAsmStreamer.cpp:554:5
# |  #7 0x0000000006cdea43 llvm::AsmPrinter::emitFunctionHeader() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:1007:7
# |  #8 0x0000000006ce2ced llvm::AsmPrinter::emitFunctionBody() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:1977:3
# |  #9 0x0000000004f59c91 (anonymous namespace)::AArch64AsmPrinter::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp:314:5
# | #10 0x0000000006fcb1c3 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #11 0x000000000753b9a5 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1398:27
# | #12 0x0000000007543952 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #13 0x000000000753c44c runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #14 0x000000000753c44c llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #15 0x0000000004dd046f compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, llvm::LLVMContext&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:870:17
# | #16 0x0000000004dcd743 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:458:13
# | #17 0x00007d46120e91ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #18 0x00007d46120e928b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #19 0x0000000004dc9265 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4dc9265)
# `-----------------------------
# error: command failed with exit status: -11
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/split-machine-functions-macho.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/split-machine-functions-macho.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</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/179449


More information about the cfe-commits mailing list