[clang] [llvm] [ARM] Add support for Windows SEH (PR #184953)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 14 08:51:52 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 171263 tests passed
* 3041 tests skipped
* 15 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AArch64/eh_recoverfp.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple arm64-windows /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/eh_recoverfp.ll -o - 2>&1 | /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/eh_recoverfp.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple arm64-windows /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/eh_recoverfp.ll -o -
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# 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/eh_recoverfp.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/eh_recoverfp.ll:4:16: error: CHECK-LABEL: expected string not found in input
# | ; CHECK-LABEL: foo
# | ^
# | <stdin>:1:1: note: scanning from here
# | Intrinsic called with incompatible signature
# | ^
# | <stdin>:1:24: note: possible intended match here
# | Intrinsic called with incompatible signature
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/eh_recoverfp.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: Intrinsic called with incompatible signature
# | label:4'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | label:4'1 ? possible intended match
# | 2: %1 = call ptr @llvm.eh.recoverfp(ptr @f, ptr %a)
# | label:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: Invalid user of intrinsic instruction!
# | label:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: %1 = call ptr @llvm.eh.recoverfp(ptr @f, ptr %a)
# | label:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: llc: error: '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/eh_recoverfp.ll': input module cannot be verified
# | label:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/WinEH/wineh-statenumbering.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -mtriple=i686-pc-windows-msvc -S -x86-winehstate < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/WinEH/wineh-statenumbering.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/WinEH/wineh-statenumbering.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -mtriple=i686-pc-windows-msvc -S -x86-winehstate
# .---command stderr------------
# | Callsite was not defined with variable arguments!
# | ptr @llvm.eh.recoverfp
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: -: error: input module is broken!
# `-----------------------------
# error: command failed with exit status: 1
# 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/WinEH/wineh-statenumbering.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/WinEH/wineh-statenumbering.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/X86/seh-catch-all-win32.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -stack-symbol-ordering=0 -mtriple=i686-windows-msvc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/seh-catch-all-win32.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/seh-catch-all-win32.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -stack-symbol-ordering=0 -mtriple=i686-windows-msvc
# .---command stderr------------
# | Callsite was not defined with variable arguments!
# | ptr @llvm.eh.recoverfp
# | llc: error: '<stdin>': input module cannot be verified
# `-----------------------------
# error: command failed with exit status: 1
# 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/X86/seh-catch-all-win32.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/X86/seh-catch-all-win32.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/X86/seh-except-restore.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/X86/seh-except-restore.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/seh-except-restore.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc
# .---command stderr------------
# | Callsite was not defined with variable arguments!
# | ptr @llvm.eh.recoverfp
# | llc: error: '<stdin>': input module cannot be verified
# `-----------------------------
# error: command failed with exit status: 1
# 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/X86/seh-except-restore.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/X86/seh-except-restore.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/X86/seh-filter-no-personality.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=i686-windows-msvc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/seh-filter-no-personality.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/seh-filter-no-personality.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=i686-windows-msvc
# .---command stderr------------
# | Callsite was not defined with variable arguments!
# | ptr @llvm.eh.recoverfp
# | llc: error: '<stdin>': input module cannot be verified
# `-----------------------------
# error: command failed with exit status: 1
# 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/X86/seh-filter-no-personality.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/X86/seh-filter-no-personality.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/X86/seh-no-invokes.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/X86/seh-no-invokes.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/seh-no-invokes.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc
# .---command stderr------------
# | Callsite was not defined with variable arguments!
# | ptr @llvm.eh.recoverfp
# | llc: error: '<stdin>': input module cannot be verified
# `-----------------------------
# error: command failed with exit status: 1
# 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/X86/seh-no-invokes.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/X86/seh-no-invokes.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/X86/seh-stack-realign.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -stack-symbol-ordering=0 -mtriple=i686-windows-msvc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/seh-stack-realign.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/seh-stack-realign.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -stack-symbol-ordering=0 -mtriple=i686-windows-msvc
# .---command stderr------------
# | Callsite was not defined with variable arguments!
# | ptr @llvm.eh.recoverfp
# | llc: error: '<stdin>': input module cannot be verified
# `-----------------------------
# error: command failed with exit status: 1
# 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/X86/seh-stack-realign.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/X86/seh-stack-realign.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/X86/win32-seh-catchpad.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/X86/win32-seh-catchpad.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/win32-seh-catchpad.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc
# .---command stderr------------
# | Callsite was not defined with variable arguments!
# | ptr @llvm.eh.recoverfp
# | Callsite was not defined with variable arguments!
# | ptr @llvm.eh.recoverfp
# | llc: error: '<stdin>': input module cannot be verified
# `-----------------------------
# error: command failed with exit status: 1
# 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/X86/win32-seh-catchpad.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/X86/win32-seh-catchpad.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.DebugInfo/COFF/frameproc-flags.ll</summary>
```
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -filetype=obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/COFF/frameproc-flags.ll -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/COFF/Output/frameproc-flags.ll.tmp.obj
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -filetype=obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/COFF/frameproc-flags.ll -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/COFF/Output/frameproc-flags.ll.tmp.obj
# .---command stderr------------
# | Callsite was not defined with variable arguments!
# | ptr @llvm.eh.recoverfp
# | LLVM ERROR: Broken module found, compilation aborted!
# | 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 -filetype=obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/COFF/frameproc-flags.ll -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/COFF/Output/frameproc-flags.ll.tmp.obj
# | #0 0x000000000852ce78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x0000000008529de1 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000852dc91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x00007d53c8c01330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007d53c8c5ab2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007d53c8c0127e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007d53c8be48ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x0000000008489b65 llvm::report_fatal_error(llvm::Twine const&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/ErrorHandling.cpp:137:5
# | #8 0x00000000084899a6 (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x84899a6)
# | #9 0x0000000007c8825b (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x7c8825b)
# | #10 0x00000000091c1578 llvm::LLParser::validateEndOfModule(bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/AsmParser/LLParser.cpp:0:5
# | #11 0x00000000091bfdba llvm::LLParser::Run(bool, llvm::function_ref<std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> (llvm::StringRef, llvm::StringRef)>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/AsmParser/LLParser.cpp:91:75
# | #12 0x00000000091bd56f parseAssemblyInto(llvm::MemoryBufferRef, llvm::Module*, llvm::ModuleSummaryIndex*, llvm::SMDiagnostic&, llvm::SlotMapping*, bool, llvm::function_ref<std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> (llvm::StringRef, llvm::StringRef)>, llvm::AsmParserContext*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/AsmParser/Parser.cpp:37:8
# | #13 0x00000000091bd65c llvm::parseAssembly(llvm::MemoryBufferRef, llvm::SMDiagnostic&, llvm::LLVMContext&, llvm::SlotMapping*, llvm::function_ref<std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> (llvm::StringRef, llvm::StringRef)>, llvm::AsmParserContext*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/AsmParser/Parser.cpp:57:7
# | #14 0x000000000798e593 ~_Function_base /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:243:11
# | #15 0x000000000798e593 llvm::parseIR(llvm::MemoryBufferRef, llvm::SMDiagnostic&, llvm::LLVMContext&, llvm::ParserCallbacks, llvm::AsmParserContext*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IRReader/IRReader.cpp:92:3
# | #16 0x000000000798ec7c _M_reset /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/optional:317:12
# | #17 0x000000000798ec7c ~_Optional_payload /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/optional:441:57
# | #18 0x000000000798ec7c ~_Optional_base /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/optional:512:12
# | #19 0x000000000798ec7c ~ParserCallbacks /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Bitcode/BitcodeReader.h:74:8
# | #20 0x000000000798ec7c llvm::parseIRFile(llvm::StringRef, llvm::SMDiagnostic&, llvm::LLVMContext&, llvm::ParserCallbacks, llvm::AsmParserContext*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IRReader/IRReader.cpp:110:3
# | #21 0x0000000004f2c356 release /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:217:16
# | #22 0x0000000004f2c356 operator= /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:191:12
# | #23 0x0000000004f2c356 operator= /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:243:61
# | #24 0x0000000004f2c356 operator= /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:414:51
# | #25 0x0000000004f2c356 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:632:9
# | #26 0x0000000004f2b103 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #27 0x00007d53c8be61ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #28 0x00007d53c8be628b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #29 0x0000000004f26c25 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f26c25)
# `-----------------------------
# error: command failed with exit status: -6
--
```
</details>
<details>
<summary>LLVM.Instrumentation/AddressSanitizer/localescape.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/AddressSanitizer/localescape.ll -passes=asan -asan-use-after-return=never -asan-stack-dynamic-alloca -S | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/AddressSanitizer/localescape.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes=asan -asan-use-after-return=never -asan-stack-dynamic-alloca -S
# .---command stderr------------
# | Callsite was not defined with variable arguments!
# | ptr @llvm.eh.recoverfp
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: -: error: input module is broken!
# `-----------------------------
# error: command failed with exit status: 1
# 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/Instrumentation/AddressSanitizer/localescape.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/Instrumentation/AddressSanitizer/localescape.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.Instrumentation/SanitizerCoverage/seh.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/SanitizerCoverage/seh.ll -passes='module(sancov-module)' -sanitizer-coverage-level=0 -S | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/SanitizerCoverage/seh.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt '-passes=module(sancov-module)' -sanitizer-coverage-level=0 -S
# .---command stderr------------
# | Callsite was not defined with variable arguments!
# | ptr @llvm.eh.recoverfp
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: -: error: input module is broken!
# `-----------------------------
# error: command failed with exit status: 1
# 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/Instrumentation/SanitizerCoverage/seh.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/Instrumentation/SanitizerCoverage/seh.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.Transforms/LCSSA/avoid-intrinsics-in-catchswitch.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/LCSSA/avoid-intrinsics-in-catchswitch.ll -passes='debugify,function(loop-mssa(licm))' -S -o /dev/null
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt '-passes=debugify,function(loop-mssa(licm))' -S -o /dev/null
# .---command stderr------------
# | Callsite was not defined with variable arguments!
# | ptr @llvm.eh.recoverfp
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: -: error: input module is broken!
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
### Clang
<details>
<summary>Clang.CodeGen/windows-seh-arg-capture-crash.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple x86_64-pc-windows-msvc -fms-extensions -fexceptions -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/windows-seh-arg-capture-crash.cpp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/windows-seh-arg-capture-crash.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple x86_64-pc-windows-msvc -fms-extensions -fexceptions -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/windows-seh-arg-capture-crash.cpp
# 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/clang/test/CodeGen/windows-seh-arg-capture-crash.cpp
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/windows-seh-arg-capture-crash.cpp:25:11: error: CHECK: expected string not found in input
# | // CHECK: %0 = call ptr @llvm.eh.recoverfp(ptr @"?f@@YAXVspan_a@@@Z", ptr %frame_pointer)
# | ^
# | <stdin>:23:48: note: scanning from here
# | %exception_pointers.addr = alloca ptr, align 8
# | ^
# | <stdin>:24:2: note: possible intended match here
# | %0 = call ptr @llvm.eh.recoverfp(ptr @"?f@@YAXVspan_a@@@Z", ptr %frame_pointer, ptr null)
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/windows-seh-arg-capture-crash.cpp:54:11: error: CHECK: expected string not found in input
# | // CHECK: %0 = call ptr @llvm.eh.recoverfp(ptr @"?f@@YAXVspan_b@@@Z", ptr %frame_pointer)
# | ^
# | <stdin>:70:48: note: scanning from here
# | %exception_pointers.addr = alloca ptr, align 8
# | ^
# | <stdin>:71:2: note: possible intended match here
# | %0 = call ptr @llvm.eh.recoverfp(ptr @"?f@@YAXVspan_b@@@Z", ptr %frame_pointer, ptr null)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/windows-seh-arg-capture-crash.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 18:
# | 19: ; Function Attrs: noinline
# | 20: define internal noundef i32 @"?filt$0 at 0@f@@"(ptr noundef %exception_pointers, ptr noundef %frame_pointer) #1 {
# | 21: entry:
# | 22: %frame_pointer.addr = alloca ptr, align 8
# | 23: %exception_pointers.addr = alloca ptr, align 8
# | check:25'0 X error: no match found
# | 24: %0 = call ptr @llvm.eh.recoverfp(ptr @"?f@@YAXVspan_a@@@Z", ptr %frame_pointer, ptr null)
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:25'1 ? possible intended match
# | 25: %input = call ptr @llvm.localrecover(ptr @"?f@@YAXVspan_a@@@Z", ptr %0, i32 0)
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 26: %__exception_code = alloca i32, align 4
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 27: %agg.tmp = alloca %class.span_a, align 4
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 28: store ptr %frame_pointer, ptr %frame_pointer.addr, align 8
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 29: store ptr %exception_pointers, ptr %exception_pointers.addr, align 8
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 65:
# | 66: ; Function Attrs: noinline
# | 67: define internal noundef i32 @"?filt$0 at 0@f@@.1"(ptr noundef %exception_pointers, ptr noundef %frame_pointer) #1 {
# | 68: entry:
# | 69: %frame_pointer.addr = alloca ptr, align 8
# | 70: %exception_pointers.addr = alloca ptr, align 8
# | check:54'0 X error: no match found
# | 71: %0 = call ptr @llvm.eh.recoverfp(ptr @"?f@@YAXVspan_b@@@Z", ptr %frame_pointer, ptr null)
# | check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:54'1 ? possible intended match
# | 72: %1 = call ptr @llvm.localrecover(ptr @"?f@@YAXVspan_b@@@Z", ptr %0, i32 0)
# | check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 73: %input = load ptr, ptr %1, align 8
# | check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 74: %__exception_code = alloca i32, align 4
# | check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 75: %agg.tmp = alloca %class.span_b, align 8
# | check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 76: store ptr %frame_pointer, ptr %frame_pointer.addr, align 8
# | check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CodeGen/windows-seh-filter-inFinally.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple x86_64-windows -fms-extensions -Wno-implicit-function-declaration -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/windows-seh-filter-inFinally.c -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/windows-seh-filter-inFinally.c
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple x86_64-windows -fms-extensions -Wno-implicit-function-declaration -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/windows-seh-filter-inFinally.c -o -
# 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/clang/test/CodeGen/windows-seh-filter-inFinally.c
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/windows-seh-filter-inFinally.c:3:11: error: CHECK: expected string not found in input
# | // CHECK: %[[dst:[0-9-]+]] = call ptr @llvm.eh.recoverfp(ptr @"?fin$0 at 0@main@@", ptr %frame_pointer)
# | ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/windows-seh-filter-inFinally.c'
# | ^
# | <stdin>:50:2: note: possible intended match here
# | %0 = call ptr @llvm.eh.recoverfp(ptr @"?fin$0 at 0@main@@", ptr %frame_pointer, ptr null)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/windows-seh-filter-inFinally.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/windows-seh-filter-inFinally.c'
# | check:3'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: source_filename = "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/windows-seh-filter-inFinally.c"
# | check:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
# | check:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: target triple = "x86_64-unknown-windows-msvc"
# | check:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5:
# | check:3'0 ~
# | 6: ; Function Attrs: noinline nounwind optnone
# | check:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 45: ; Function Attrs: noinline nounwind
# | check:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 46: define internal i32 @"?filt$0 at 0@main@@"(ptr noundef %exception_pointers, ptr noundef %frame_pointer) #1 {
# | check:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 47: entry:
# | check:3'0 ~~~~~~~
# | 48: %frame_pointer.addr = alloca ptr, align 8
# | check:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 49: %exception_pointers.addr = alloca ptr, align 8
# | check:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 50: %0 = call ptr @llvm.eh.recoverfp(ptr @"?fin$0 at 0@main@@", ptr %frame_pointer, ptr null)
# | check:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:3'1 ? possible intended match
# | 51: %1 = call ptr @llvm.localrecover(ptr @"?fin$0 at 0@main@@", ptr %0, i32 0)
# | check:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 52: %2 = load ptr, ptr %1, align 8
# | check:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 53: %Counter = call ptr @llvm.localrecover(ptr @main, ptr %2, i32 0)
# | check:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 54: %__exception_code = alloca i32, align 4
# | check:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 55: store ptr %frame_pointer, ptr %frame_pointer.addr, align 8
# | check:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CodeGenCXX/exceptions-seh-filter-captures.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -std=c++11 -fblocks -fms-extensions /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/exceptions-seh-filter-captures.cpp -triple=x86_64-windows-msvc -emit-llvm -o - -mconstructor-aliases -fcxx-exceptions -fexceptions | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/exceptions-seh-filter-captures.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -std=c++11 -fblocks -fms-extensions /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/exceptions-seh-filter-captures.cpp -triple=x86_64-windows-msvc -emit-llvm -o - -mconstructor-aliases -fcxx-exceptions -fexceptions
# 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/clang/test/CodeGenCXX/exceptions-seh-filter-captures.cpp
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/exceptions-seh-filter-captures.cpp:23:11: error: CHECK: expected string not found in input
# | // CHECK: %[[fp:[^ ]*]] = call ptr @llvm.eh.recoverfp(ptr @test_freefunc, ptr %frame_pointer)
# | ^
# | <stdin>:44:118: note: scanning from here
# | define internal noundef i32 @"?filt$0 at 0@test_freefunc@@"(ptr noundef %exception_pointers, ptr noundef %frame_pointer) #1 {
# | ^
# | <stdin>:48:2: note: possible intended match here
# | %0 = call ptr @llvm.eh.recoverfp(ptr @test_freefunc, ptr %frame_pointer, ptr null)
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/exceptions-seh-filter-captures.cpp:51:11: error: CHECK: expected string not found in input
# | // CHECK: %[[fp:[^ ]*]] = call ptr @llvm.eh.recoverfp(ptr @"?test_method at S@@QEAAXXZ", ptr %frame_pointer)
# | ^
# | <stdin>:116:118: note: scanning from here
# | define internal noundef i32 @"?filt$0 at 0@test_method at S@@"(ptr noundef %exception_pointers, ptr noundef %frame_pointer) #1 {
# | ^
# | <stdin>:120:2: note: possible intended match here
# | %0 = call ptr @llvm.eh.recoverfp(ptr @"?test_method at S@@QEAAXXZ", ptr %frame_pointer, ptr null)
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/exceptions-seh-filter-captures.cpp:108:11: error: CHECK: expected string not found in input
# | // CHECK: %[[fp:[^ ]*]] = call ptr @llvm.eh.recoverfp(ptr @"??R<lambda_0>@?0??test_lambda@@YAXXZ at QEBA@XZ", ptr %frame_pointer)
# | ^
# | <stdin>:273:139: note: scanning from here
# | define internal noundef i32 @"?filt$0 at 0@?R<lambda_0>@?0??test_lambda@@YAXXZ@"(ptr noundef %exception_pointers, ptr noundef %frame_pointer) #1 {
# | ^
# | <stdin>:277:2: note: possible intended match here
# | %0 = call ptr @llvm.eh.recoverfp(ptr @"??R<lambda_0>@?0??test_lambda@@YAXXZ at QEBA@XZ", ptr %frame_pointer, ptr null)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/exceptions-seh-filter-captures.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 39: invoke.cont: ; preds = %entry
# | 40: br label %__try.cont
# | 41: }
# | 42:
# | 43: ; Function Attrs: noinline
# | 44: define internal noundef i32 @"?filt$0 at 0@test_freefunc@@"(ptr noundef %exception_pointers, ptr noundef %frame_pointer) #1 {
# | check:23'0 X~~~~~ error: no match found
# | 45: entry:
# | check:23'0 ~~~~~~~
# | 46: %frame_pointer.addr = alloca ptr, align 8
# | check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 47: %exception_pointers.addr = alloca ptr, align 8
# | check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 48: %0 = call ptr @llvm.eh.recoverfp(ptr @test_freefunc, ptr %frame_pointer, ptr null)
# | check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:23'1 ? possible intended match
# | 49: %p1.addr = call ptr @llvm.localrecover(ptr @test_freefunc, ptr %0, i32 0)
# | check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 50: %l1 = call ptr @llvm.localrecover(ptr @test_freefunc, ptr %0, i32 1)
# | check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 51: %__exception_code = alloca i32, align 4
# | check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 52: store ptr %frame_pointer, ptr %frame_pointer.addr, align 8
# | check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 53: store ptr %exception_pointers, ptr %exception_pointers.addr, align 8
# | check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 111: invoke.cont: ; preds = %entry
# | 112: br label %__try.cont
# | 113: }
# | 114:
# | 115: ; Function Attrs: noinline
# | 116: define internal noundef i32 @"?filt$0 at 0@test_method at S@@"(ptr noundef %exception_pointers, ptr noundef %frame_pointer) #1 {
# | check:51'0 X~~~~~ error: no match found
# | 117: entry:
# | check:51'0 ~~~~~~~
# | 118: %frame_pointer.addr = alloca ptr, align 8
# | check:51'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 119: %exception_pointers.addr = alloca ptr, align 8
# | check:51'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 120: %0 = call ptr @llvm.eh.recoverfp(ptr @"?test_method at S@@QEAAXXZ", ptr %frame_pointer, ptr null)
# | check:51'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:51'1 ? possible intended match
# | 121: %l1 = call ptr @llvm.localrecover(ptr @"?test_method at S@@QEAAXXZ", ptr %0, i32 0)
# | check:51'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 122: %this.addr = call ptr @llvm.localrecover(ptr @"?test_method at S@@QEAAXXZ", ptr %0, i32 1)
# | check:51'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 123: %this = load ptr, ptr %this.addr, align 8
# | check:51'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 124: %__exception_code = alloca i32, align 4
# | check:51'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 125: store ptr %frame_pointer, ptr %frame_pointer.addr, align 8
# | check:51'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 268: invoke.cont: ; preds = %entry
# | 269: br label %__try.cont
# | 270: }
# | 271:
# | 272: ; Function Attrs: noinline
# | 273: define internal noundef i32 @"?filt$0 at 0@?R<lambda_0>@?0??test_lambda@@YAXXZ@"(ptr noundef %exception_pointers, ptr noundef %frame_pointer) #1 {
# | check:108'0 X~~~~~ error: no match found
# | 274: entry:
# | check:108'0 ~~~~~~~
# | 275: %frame_pointer.addr = alloca ptr, align 8
# | check:108'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 276: %exception_pointers.addr = alloca ptr, align 8
# | check:108'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 277: %0 = call ptr @llvm.eh.recoverfp(ptr @"??R<lambda_0>@?0??test_lambda@@YAXXZ at QEBA@XZ", ptr %frame_pointer, ptr null)
# | check:108'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:108'1 ? possible intended match
# | 278: %this.addr = call ptr @llvm.localrecover(ptr @"??R<lambda_0>@?0??test_lambda@@YAXXZ at QEBA@XZ", ptr %0, i32 0)
# | check:108'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 279: %this = load ptr, ptr %this.addr, align 8
# | check:108'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 280: %l2 = call ptr @llvm.localrecover(ptr @"??R<lambda_0>@?0??test_lambda@@YAXXZ at QEBA@XZ", ptr %0, i32 1)
# | check:108'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 281: %__exception_code = alloca i32, align 4
# | check:108'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 282: store ptr %frame_pointer, ptr %frame_pointer.addr, align 8
# | check:108'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/184953
More information about the cfe-commits
mailing list