mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 21:20:37 +00:00
Add error-reporting tests for platforms that don't support segmented stacks.
Patch by Brian Anderson. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148042 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
85b9d43d4c
commit
0577c59196
@ -13,6 +13,17 @@
|
||||
; RUN: llc < %s -mtriple=i686-mingw32 -segmented-stacks -filetype=obj
|
||||
; RUN: llc < %s -mtriple=x86_64-freebsd -segmented-stacks -filetype=obj
|
||||
|
||||
; RUN: not llc < %s -mtriple=x86_64-solaris -segmented-stacks 2> %t.log
|
||||
; RUN: FileCheck %s -input-file=%t.log -check-prefix=X64-Solaris
|
||||
; RUN: not llc < %s -mtriple=x86_64-mingw32 -segmented-stacks 2> %t.log
|
||||
; RUN: FileCheck %s -input-file=%t.log -check-prefix=X64-MinGW
|
||||
; RUN: not llc < %s -mtriple=i686-freebsd -segmented-stacks 2> %t.log
|
||||
; RUN: FileCheck %s -input-file=%t.log -check-prefix=X32-FreeBSD
|
||||
|
||||
; X64-Solaris: Segmented stacks not supported on this platform
|
||||
; X64-MinGW: Segmented stacks not supported on this platform
|
||||
; X32-FreeBSD: Segmented stacks not supported on FreeBSD i386
|
||||
|
||||
; Just to prevent the alloca from being optimized away
|
||||
declare void @dummy_use(i32*, i32)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user