From f326b30a153c7b9c63b1fc6a73aac43818e9c33c Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Thu, 9 Jun 2016 17:04:38 +0000 Subject: [PATCH] Improve r272262, check that __stack_chk_guard is used. Thanks to Rafael for the suggestion. llvm-svn: 272277 --- llvm/test/CodeGen/X86/stackguard-internal.ll | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/test/CodeGen/X86/stackguard-internal.ll b/llvm/test/CodeGen/X86/stackguard-internal.ll index 4b815c98fb19..2830aae7089b 100644 --- a/llvm/test/CodeGen/X86/stackguard-internal.ll +++ b/llvm/test/CodeGen/X86/stackguard-internal.ll @@ -8,6 +8,8 @@ define void @f() sspstrong { ret void } +; CHECK: movq __stack_chk_guard(%rip), %rax +; CHECKL movq __stack_chk_guard(%rip), %rax ; CHECK: .type __stack_chk_guard,@object ; CHECK: .local __stack_chk_guard ; CHECK: .comm __stack_chk_guard,64,16