[lld] [lld] Error on unsupported split stack (PR #88063)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 16:28:57 PDT 2024


================
@@ -0,0 +1,15 @@
+# REQUIRES: riscv
+
+# RUN: llvm-mc -filetype=obj -triple=riscv64 %s -o %t.64.o
+# RUN: llvm-mc -filetype=obj -triple=riscv64 %p/Inputs/riscv-split-stack-callee.s -o %t.64.2.o
+# RUN: not ld.lld %t.64.o %t.64.2.o -o %t.64 2>&1 | FileCheck %s
+# CHECK: ld.lld: error: Target doesn't support split stacks.
----------------
MaskRay wrote:

Remove `ld.lld: `. We intentionally omit them because the string may include `.exe` or a version suffix in some downstream test neivonrments.

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


More information about the llvm-commits mailing list