[llvm] r272277 - Improve r272262, check that __stack_chk_guard is used.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 9 10:04:39 PDT 2016
Author: davide
Date: Thu Jun 9 12:04:38 2016
New Revision: 272277
URL: http://llvm.org/viewvc/llvm-project?rev=272277&view=rev
Log:
Improve r272262, check that __stack_chk_guard is used.
Thanks to Rafael for the suggestion.
Modified:
llvm/trunk/test/CodeGen/X86/stackguard-internal.ll
Modified: llvm/trunk/test/CodeGen/X86/stackguard-internal.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/stackguard-internal.ll?rev=272277&r1=272276&r2=272277&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/stackguard-internal.ll (original)
+++ llvm/trunk/test/CodeGen/X86/stackguard-internal.ll Thu Jun 9 12:04:38 2016
@@ -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, at object
; CHECK: .local __stack_chk_guard
; CHECK: .comm __stack_chk_guard,64,16
More information about the llvm-commits
mailing list