mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 04:31:08 +00:00
Explicit triple in warn stack size test cases to not depend on OS.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183574 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e488b4ecdc
commit
2e10e8e378
@ -1,4 +1,4 @@
|
|||||||
; RUN: llc -march arm -warn-stack-size=80 < %s 2>&1 >/dev/null | FileCheck %s
|
; RUN: llc -mtriple thumbv7-apple-ios3.0.0 -warn-stack-size=80 < %s 2>&1 >/dev/null | FileCheck %s
|
||||||
; Check the internal option that warns when the stack size exceeds the
|
; Check the internal option that warns when the stack size exceeds the
|
||||||
; given amount.
|
; given amount.
|
||||||
; <rdar://13987214>
|
; <rdar://13987214>
|
||||||
@ -12,7 +12,7 @@ entry:
|
|||||||
ret void
|
ret void
|
||||||
}
|
}
|
||||||
|
|
||||||
; CHECK: warning: Stack size limit exceeded (92) in warn.
|
; CHECK: warning: Stack size limit exceeded (96) in warn.
|
||||||
define void @warn() nounwind ssp {
|
define void @warn() nounwind ssp {
|
||||||
entry:
|
entry:
|
||||||
%buffer = alloca [80 x i8], align 1
|
%buffer = alloca [80 x i8], align 1
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
; RUN: llc -march x86 -warn-stack-size=80 < %s 2>&1 >/dev/null | FileCheck %s
|
; RUN: llc -mtriple x86_64-apple-10.8.0 -warn-stack-size=80 < %s 2>&1 >/dev/null | FileCheck %s
|
||||||
; Check the internal option that warns when the stack size exceeds the
|
; Check the internal option that warns when the stack size exceeds the
|
||||||
; given amount.
|
; given amount.
|
||||||
; <rdar://13987214>
|
; <rdar://13987214>
|
||||||
@ -12,7 +12,7 @@ entry:
|
|||||||
ret void
|
ret void
|
||||||
}
|
}
|
||||||
|
|
||||||
; CHECK: warning: Stack size limit exceeded (92) in warn.
|
; CHECK: warning: Stack size limit exceeded (88) in warn.
|
||||||
define void @warn() nounwind ssp {
|
define void @warn() nounwind ssp {
|
||||||
entry:
|
entry:
|
||||||
%buffer = alloca [80 x i8], align 1
|
%buffer = alloca [80 x i8], align 1
|
||||||
|
Loading…
Reference in New Issue
Block a user