brintos

brintos / llvm-project-archived public Read only

0
0
Text · 579 B · e6ebf9f Raw
25 lines · plain
1# REQUIRES: riscv2 3# RUN: split-file %s %t4# RUN: llvm-mc -filetype=obj -triple=riscv64 %t/main.s -o %t.64.o5# RUN: llvm-mc -filetype=obj -triple=riscv64 %t/callee.s -o %t.64.2.o6# RUN: not ld.lld %t.64.o %t.64.2.o -o %t.64 2>&1 | FileCheck %s7# CHECK: error: target doesn't support split stacks8 9#--- main.s10        .globl  _start11        .type   _start,@function12_start:13        call    test14	ret15end:16        .size   _start, end-_start17        .section        ".note.GNU-split-stack","",@progbits18 19 20#--- callee.s21        .globl  test22        .type   test,@function23test:24	ret25