1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/CodeGen/X86/stackguard-internal.ll
Davide Italiano f7c502a0af Also fix a typo. Need more coffee today.
llvm-svn: 272278
2016-06-09 17:06:01 +00:00

16 lines
465 B
LLVM

; Check that the backend doesn't crash.
; RUN: llc -mtriple=x86_64-pc-freebsd %s -o - | FileCheck %s
@__stack_chk_guard = internal global [8 x i64] zeroinitializer, align 16
define void @f() sspstrong {
%tbl = alloca [4 x i64], align 16
ret void
}
; CHECK: movq __stack_chk_guard(%rip), %rax
; CHECK: movq __stack_chk_guard(%rip), %rax
; CHECK: .type __stack_chk_guard,@object
; CHECK: .local __stack_chk_guard
; CHECK: .comm __stack_chk_guard,64,16