1 ; RUN: llc -mtriple=x86_64 -O0 < %s | FileCheck %s
3 ; Check that we don't crash on this input.
5 ; CHECK: __stack_chk_guard
7 define hidden void @foo(ptr %ptr) #0 {
9 %args.addr = alloca ptr, align 8
10 %0 = va_arg ptr %args.addr, ptr
11 store ptr %0, ptr %ptr
15 attributes #0 = { sspstrong }
16 attributes #1 = { optsize }