2016-06-09 22:23:38 +08:00
|
|
|
; 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
|
|
|
|
}
|
|
|
|
|
2016-06-10 01:04:38 +08:00
|
|
|
; CHECK: movq __stack_chk_guard(%rip), %rax
|
2016-06-10 01:06:01 +08:00
|
|
|
; CHECK: movq __stack_chk_guard(%rip), %rax
|
2016-06-09 22:23:38 +08:00
|
|
|
; CHECK: .type __stack_chk_guard,@object
|
|
|
|
; CHECK: .local __stack_chk_guard
|
|
|
|
; CHECK: .comm __stack_chk_guard,64,16
|